+1 714-215-3097

(Solved) : Write C Program Asks User Enter Single Letter Two Numbers Code Accept Following Letters Pr Q35564706

Write a C++ program that asks the user to enter a single letter,then two numbers. Your code should accept the following letters,then produce the indicated result:

a – add the number1 and number2

s – subtract number2 from number1

m – multiply the number2 times number1

d – divide number1 by number2

x – generate number1 mod number2

***Make sure to show/write out the program listing AND the testrun output to show that your code works properly.***

Leave a Reply

Your email address will not be published. Required fields are marked *