c 2b 2b wait

Solutions on MaxInterview for c 2b 2b wait by the best coders in the world

showing results for - "c 2b 2b wait"
Noeline
18 Jan 2021
1#include <iostream>     //for using cout
2#include <Windows.h>     //for using the function Sleep
3
4using namespace std;    //for using cout
5
6int main(void)         
7{
8   cout << "test" << endl;
9   Sleep(5000);         //make the programme waiting for 5 seconds
10   cout << "test" << endl;
11   Sleep(2000);         // wait for 2 seconds before closing
12
13   return 0;
14}
15