Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <windows.h>
- using namespace std;
- int main()
- {
- int second1 = 0,second2 = 0;
- bool keepGoing(true);
- do {
- while (second2 < 9) {
- second2++;
- cout << second1 << second2;
- Sleep(1000);
- system("CLS");
- keepGoing = true;
- }
- while (second2 != 0) {
- second1++;
- second2 = 0;
- cout << second1 << second2;
- }
- } while (keepGoing = true);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement