Question: Question 2 (25 points) Ask the user to entertwo real numbers. Then display the following menu on the screen: 1. Addition 2. Subtraction 3. Multiplication

 Question 2 (25 points) Ask the user to entertwo real numbers.

Question 2 (25 points) Ask the user to entertwo real numbers. Then display the following menu on the screen: 1. Addition 2. Subtraction 3. Multiplication 4. Division Chocie: If the user enters 1 then add the two numbers and display "Result of addition = .. on the screen. If the user enters 2 then subtract the secondnumberfrom the first number and display "Result of subtraction= .... " on the screen. If the user enters then multiply the two numbers and display "Result of multiplication = .... "on the screen. If the user enters 4then divide the first number by the second number and display "Result of division on the screen. Use while loop and switch statement in your program. In the while loop ask the user "Do you want to continue?". If the user answers "Yes" (or"V" or "y") display the menu again otherwise exit the loop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!