JakubJaneczek

Zadanie 4

Apr 30th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2. #include <cstdlib>
  3. #include <ctime>
  4. using namespace std;
  5. int a,b,c,w;
  6.  
  7.  
  8.  
  9. int main()
  10. {
  11.     a=0;
  12.     b=2;
  13.     if(rand()%(b)<1)
  14.     {
  15.         cout << "reszka"<< endl;
  16.     }
  17.     else
  18.     {
  19.         cout << "orzel" << endl;
  20.     }
  21.     return 0;
  22. }
Add Comment
Please, Sign In to add comment