Advertisement
Guest User

Playful

a guest
Apr 10th, 2020
843
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     int test;
  7.     cin >> test;
  8.     if (test == 1) {
  9.         cout << "Answer1" << endl;
  10.     }
  11.     if (test == 2) {
  12.         cout << "Answer2" << endl;
  13.     }
  14.     if (test == 3) {
  15.         cout << "Answer3" << endl;
  16.     }
  17.     if (test == 4) {
  18.         cout << "Answer4" << endl;
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement