Complete the following program skeleton by writing a switch statement that displays "one" if the user has entered 1, "two" if the user has entered 2, and "three" if the user has entered 3. If a number other than 1, 2, or 3 is entered, the program should display an error message.
#include
using namespace std;
int main()
{
int userNum;
cout << "Enter one of the numbers 1, 2, or 3: ";
cin >> userNum;
// Write the switch statement here.
return 0;
}
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.