1# include <windows.h>
2# include <iostream>
3using namespace std;
4
5void timer(int sec)
6{
7 Sleep(sec*1000);
8}
9
10int main()
11{
12 cout << "Wait 5 seconds " << endl;
13 timer(5);
14 cout << "FireWorks !" << endl;
15
16 return 0;
17}