Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- using namespace std;
- int main(){
- srand(time(NULL));
- for (int i = 0; i < 50; i++){
- int k = rand()%2;
- if (k==0) cout << "reszka" << endl;
- else cout << "orzel" << endl;
- }
- //liczby wygladaja na losowe
- }
Advertisement
Add Comment
Please, Sign In to add comment