Write and run a program that displays the following menu to the user:
(A)dd two numbers
(S)ubtract two numbers
(M)ultiply two numbers
(D)ivide two numbers
(E)xit
Then the program should read two numbers from the user, and display:
•Their sum if the user typed a or A as a choice to the above menu
•The difference if the user typed s or S as a choice to the above menu
•Etc
Note: your program should do appropriate checking in case of division (no division by zero)
Your program should continuously ask the user for a choice until the user enters E or e.
What language is required? Is this console or desktop application? We need more information to help you.
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!