Answer to Question #2236 in 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.
1
Expert's answer
2011-04-04T11:17:19-0400
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 the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS