Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- int x;
- cin >> x;
- switch(x)
- {
- case 1: cout << "wykona sie ten kod jesli x = 1";
- case 2: cout << "wykona się ten kod jesli x = 2";
- case 3:
- {
- cout << "wykona sie ten kod jesli x = 3" << endl;
- cout << "zapisujesz w klamerkach jesliu jest wievcej niz jedna linijka";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement