Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <ctime>
- #include <windows.h>
- main()
- {
- srand(time(NULL));
- int liczba;
- cout<<"Witaj w losowaniu MULTI LOTTO!!! Za zwolnienie blokady za:"<<endl;
- sleep(1000);
- cout<<"3...";
- sleep(1000);
- cout<<"2...";
- sleep(1000);
- cout<<"1...";
- sleep(1000);
- for (int i=0; i<=10; i++)
- {
- liczba=rand()%49+1;
- cout<<liczba<<"\a"<<endl;
- sleep(2000);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement