const int work = 28800;
int sec;
cout << "Enter sec" << endl;
cin >> sec;
cout << "Left to work " << (work - sec) / 3600 << " hours" << endl;
system("pause")
int sec;
cout << "Enter sec" << endl;
cin >> sec;
cout << "Left to work " << (work - sec) / 3600 << " hours" << endl;
system("pause")
Комментариев нет:
Отправить комментарий