Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int a,b,c,w;
- int main()
- {
- a=0;
- b=2;
- if(rand()%(b)<1)
- {
- cout << "reszka"<< endl;
- }
- else
- {
- cout << "orzel" << endl;
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment