Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1. #include <iostream>
  2. #include <ctime>
  3. #include <windows.h>
  4. main()
  5. {
  6.     srand(time(NULL));
  7.     int liczba;
  8.     cout<<"Witaj w losowaniu MULTI LOTTO!!! Za zwolnienie blokady za:"<<endl;
  9.     sleep(1000);
  10.     cout<<"3...";
  11.     sleep(1000);
  12.     cout<<"2...";
  13.     sleep(1000);
  14.     cout<<"1...";
  15.     sleep(1000);
  16.     for (int i=0; i<=10; i++)
  17.     {
  18.         liczba=rand()%49+1;
  19.         cout<<liczba<<"\a"<<endl;
  20.         sleep(2000);
  21.     }
  22.     return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement