#include using namespace std; int main() { int userNum; cout << "Enter one of the numbers 1, 2, or 3: "; cin >> userNum; // write a switch statement that will display the word // for the number entered (i.e. display "one" if 1 entered) // if entered something other than 1, 2, or 3 then display // an error message switch (userNum) { case 1: cout << "one" << endl; break; case 2: cout << "two" << endl; break; case 3: cout << "three" << endl; break; default: cout << "Error: must enter 1, 2 or 3" << endl; } // end switch cout << "done." << endl << endl; return 0; } // end main