subject

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 Usrnum;
cout << "Enter one of the number 1,2 or 3:";
cin>> userNum;
// Write the switch statement here.
return 0;

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 11:30
The most accurate readings that you can take on an analog vom are when the meter's pointer is at the a. center scale. b. extreme right. c. near right. d. extreme left.
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
Lakendra finished working on her monthly report. in looking it over, she saw that it had large blocks of white space. what steps could lakendra take to reduce the amount of white space?
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
Complete the following program skeleton by writing a switch statement that displays "one" if the use...
Questions
question
Mathematics, 04.12.2020 23:30
question
Mathematics, 04.12.2020 23:30
question
Mathematics, 04.12.2020 23:30
question
Mathematics, 04.12.2020 23:30
question
Social Studies, 04.12.2020 23:30
Questions on the website: 13722361