Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int x,y,z;
- int walizka;
- int deep1;
- cout << "Wybierz 1 lub 2\n";
- cin >> walizka;
- switch(walizka) {
- case 1:
- cout << "You choosed numer one!\n";
- cin >> deep1;
- switch(deep1)
- case 1:
- cout << "We need to go deeper! ONE\n";
- break;
- default:
- cout << "sr";
- break;
- case 2:
- cout << "You choosed number two\n";
- break;
- default:
- cout << "You are not choose anything in compartment\n";
- break;
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment