Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3.  
  4. int x;
  5. cin >> x;
  6.  
  7. switch(x)
  8. {
  9. case 1: cout << "wykona sie ten kod jesli x = 1";
  10. case 2: cout << "wykona się ten kod jesli x = 2";
  11. case 3:
  12. {
  13. cout << "wykona sie ten kod jesli x = 3" << endl;
  14. cout << "zapisujesz w klamerkach jesliu jest wievcej niz jedna linijka";
  15. }
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement