Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int kasztan;
- cout << "Wybierz 1 albo 2(tylko): ";
- cin >> kasztan;
- if (kasztan == 1){
- for (int x = 0; x < 5; x++){
- cout << "Maksymilian" << endl;
- }
- } else if (kasztan == 2){
- for (int z = 0; z < 5; z++){
- cout << "Podlecki" << endl;
- }
- } else if (kasztan != 1 && kasztan != 2 || kasztan == 0 || kasztan > 2){
- cout << "CO TY ROBISZ!!!!!!!!!!" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment