Question: You are required to develop a program that simulates a simple calculator. The calculator is capable of taking (reading interactively) three real numbers and performs

You are required to develop a program that simulates a simple calculator. The calculator is capable of taking (reading interactively) three real numbers and performs the following operations:

Finding the sum and print the result

Finding the average and pint the result

Finding the largest and print the result

Finding the smallest and print the result

The user determines which of these operations should be performed.

Program requirements:

- The program should ask user for appropriate choice and required data.

- The use should have an option to provide his/her choice or terminate the program.

- The program must contain at least four functions using parameters. These functions should perform the above operations.

- Program should use a class that contains the above functions.

- The program must be fully documented.

- You must submit a hard copy of the source and a properly labeled output.

- Test your program for different values for the real numbers.

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!