Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int choice;
- cout << "type in 1, 2 or 3." << endl;
- cin >> choice;
- switch(choice)
- {
- case 1:
- cout << "hey!" << endl;
- break;
- case 2:
- cout << "hello world!" << endl;
- break;
- case 3:
- cout << "Hey man!" << endl;
- break;
- default:
- cout << "ERROROROORORO" << endl;
- break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement