66 840
Assignments Done
99,1%
Successfully Done
In October 2018

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
(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.
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions