Advertisement
Guest User

Untitled

a guest
Apr 24th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #inculde <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5. cout <<"1.Typing"<< endl; //Shfaq ne ekran tekstin "1.Typing"
  6. cout <<"2.Drawing"<< endl;
  7. cout <<"3.Video"<< endl;
  8. cout <<"4.Games"<< endl;
  9. cout <<"0.Exit"<< endl;
  10. char z; //z-zgjedhja, variabel i tipit character
  11. cout <<"Zgjedhja juaj: ";
  12. cin >> z;
  13.  
  14. switch (z) {
  15. case '1':
  16. cout <<"Ju zgjodhet Typing"<< endl;
  17. break;
  18.  
  19. case '2':
  20. cout<<"Ju zgjodhet Drawing"<< endl;
  21. break;
  22. case '3':
  23. cout<<"Ju zgjodhet Video"<< endl;
  24. break;
  25. case '4':
  26. cout<<"Ju zgjodhet Games"<< endl;
  27. break;
  28. case '0':
  29. cout<<"Ju zgjodhet Exit"<< endl;
  30. break;
  31.  
  32. }
  33.  
  34. return 0;
  35.  
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement