Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #inculde <iostream>
- using namespace std;
- int main () {
- cout <<"1.Typing"<< endl; //Shfaq ne ekran tekstin "1.Typing"
- cout <<"2.Drawing"<< endl;
- cout <<"3.Video"<< endl;
- cout <<"4.Games"<< endl;
- cout <<"0.Exit"<< endl;
- char z; //z-zgjedhja, variabel i tipit character
- cout <<"Zgjedhja juaj: ";
- cin >> z;
- switch (z) {
- case '1':
- cout <<"Ju zgjodhet Typing"<< endl;
- break;
- case '2':
- cout<<"Ju zgjodhet Drawing"<< endl;
- break;
- case '3':
- cout<<"Ju zgjodhet Video"<< endl;
- break;
- case '4':
- cout<<"Ju zgjodhet Games"<< endl;
- break;
- case '0':
- cout<<"Ju zgjodhet Exit"<< endl;
- break;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement