Computer Science, asked by sahasrachinnat20, 22 days ago

Write a menu-driven program using switch statement to input two integers and an arithmetic operator(+, -,*, /) and perform the arithmetic operations depending upon operator selected.

Example:

Enter first number: 27

Enter second number: 9

MAIN MENU OPTIONS

Options Choice character

Add +

Subtract -

Multiply *

Divide /

Enter an operator (+,-,*,/): +

Output:

The sum of 27+9=36

Answers

Answered by Littlebirdie
0

Answer:

Addition + = 27 + 9

Subtraction - = 27-9

Multiplication x=27x9

Divide,

Similar questions