ten cout figuruje v podobném cyklu jako je tento:
Kód: Vybrat vše
for(int sec=10; sec<=0; sec--)
{
cout << sec<< endl;
}

Kód: Vybrat vše
for(int sec=10; sec<=0; sec--)
{
cout << sec<< endl;
}

Kód: Vybrat vše
for(....)
{
if (sec < 10)
cout << "0";
cout << sec << endl;
}
