Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ on visual studio, create a menu with different selections for the user Read the notes very carefully! Develop a flowchart and then write a
C++ on visual studio, create a menu with different selections for the user
Read the notes very carefully! Develop a flowchart and then write a menu-driven C++ program to solve the following problem. Upon execution of the program, the menu will be displayed, properly centered as shown below. You will be using Selection Constructs and the Looping Constructs for this assignment. Relational Quit Arithmetic Logical Help Once the menu is displayed, the user is prompted for a menu selection. A wrong menu option is flagged as an error and the menu is displayed again Horh (for Help) will briefly explain the problem being solved and the purpose of each menu options. Once the user strikes a key, the menu will appear again. Aora (for Arithmetic) will prompt the user for two integer numbers followed by an arithmetic operation to be performed according to the following convention. If the user inputs 1 for the operation, the subtraction will be performed. If the user inputs 2, a division will be performed. Any other number should be flagged as an error and the user is prompted again for the operation. At no time the program should be terminated. You will decide the output format to be displayed. Once the user viewed the results, striking a key will display the menu and the user is prompted again for a menu selection. Roer for Relational) will prompt the user for two integer numbers followed by a relational operation to be performed according to the following convention. If the user inputs 1 for the operation, the greater than (>) will be performed. If the user inputs 2, the less than or equal ( You wiwe 2. Make sure your program executes correctly Mae ure the anables are correctly declared without any contact with other anableYou have to some of the want to make each vanable 4. You need to the program four times for the mers can below. 5U conditional constructs and long cont e nt while do while oths Test your program with the following sets of numberThe program should be weten wuch that all the stated operation will be tested with the data shown below Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started