//Hope This Works For You! int x; cin >> x; switch(x) { case 1: cout << "You Entered 1"; break; default: cout << "You Entered " << x; }