#include #include using namespace std ; int main() { int x1 ; cout << "Enter a number from 1 to 3:" ; cin >> x1 ; switch( x1 ) { case 1: cout << "Number is 1." << endl ; //break ; case 2: cout << "Number is 2." << endl ; break ; case 3: cout << "Number is 3." << endl ; break ; default: cout << "Number is something else ." << endl ; } return 0; }