Advertisement
wiktormadera

Zad4/2

Apr 30th, 2020
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4. using namespace std;
  5.  
  6. int main()
  7. {srand(time(NULL));
  8.     cout << "0 to orzel a 1 to reszka" << endl;
  9.     cout<<rand()%(1+1)<<endl;
  10.     return 0;
  11. }
  12. //wszystko dziala
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement