Question: Menu Write a program that displays a menu similar to one given below. The menu asks the user to choose 1, 2, 3, 4, or
Menu Write a program that displays a menu similar to one given below. The menu asks the user to choose 1, 2, 3, 4, or 0 for addition, subtraction, multiplication, division, or to quit respectively. If the user enters 1, 2, 3, or 4 the program asks for two numbers and preforms and prints the result of the operation. Sample input/output: Menu For addition enter 1: For subtraction enter 2: For multiplication enter 3: For division enter 4: To quit enter 0: What is your choice? 3 Enter the two numbers: 28 2* 8 = 16
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
