Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main()
- {
- int a=1;
- if((rand()%(a+1))==1)
- {cout<<"reszka"<<endl;}
- else
- {cout<<"orel"<<endl;}//Uzyskane wyniki nie wyglądają na losowe
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement