Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <conio.h>
- #include <ctime>
- using namespace std;
- main()
- {
- int los, ile;
- srand(time(NULL));
- cout <<"\nPodaj ile platkow ma miec stokrotka: ";
- cin >> ile;
- for(int i=0; i<ile; i++)
- {
- los=rand()%2;
- if(los==1)
- cout <<"\nNie kocha";
- else
- cout <<"\nKocha";
- }
- if(los==1)
- cout <<"\nJestes przegrana kurwa";
- else
- cout <<"\nFarciarz.";
- getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement