Write a program which accepts two integers from the user. then it asks the user what he wants to do with those two numbers. if the user choice is

‘a’ – add the two numbers

‘b’ – subtract the second number from the first number

‘c’ – multiply the first number by the second number

‘d’ – divide the first number by the second number

‘q’ – end the operation

your program should continue to accept the two numbers and the user choice unless the user enters ‘q’ as choice.

Solved
Show answers

Ask an AI advisor a question