+ 1
Where is error? It doesn't working.
#include <iostream> #include <ctime> using namespace std; int main() { int t = time(0)+5; int td = t; while (true){ if (time(0)==t){ cout<<"x"; t=time(0) + 5; } if (t==td+50){ break; Â } Â } }
1 Answer
+ 1
put it in code playground