76 315
Assignments Done
Successfully Done
In May 2019

Answer to Question #2236 in Other Programming & Computer Science for lala

Question #2236
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

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

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.
Expert's answer
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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions