Question: Description: Write a program that shows the user a menu and then prompt the user for their selection. The program will then respond letting them

Description:

Write a program that shows the user a menu and then prompt the user for their selection. The program will then respond letting them know which option they chose.

Instructions:

Follow the following steps to implement your solution:

  1. Create a new project in the IDE of your choice.
  2. Then, copy or type the following code:
#include using namespace std; int main() { // print a menu cout << "A - Option A "; cout << "B - Option B "; cout << "C - Option C "; cout << "Enter your choice: "; ________ choice; cin >> ________; ________ (________) { case ____: cout << "You entered A! "; break; ________ 'B': cout << "You entered B! "; ________ ________ 'C': cout << "You entered C! "; ________ ________ : cout << "Invalid Choice! "; } cout << "Program done!" << endl; cin.ignore(); cin.get(); }

3. Replace the blanks with the appropriate code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!