Question: In your program you will have 3 functions. All 3 are user defined. The function Avg will take 3 values and return the Average. The

 In your program you will have 3 functions. All 3 are

In your program you will have 3 functions. All 3 are user defined. The function Avg" will take 3 values and return the Average. The function Median will take 3 values and return the middle value. There will also be main. In main: In a loop Ask the user for 3 values. Call Avg and then print what was returned Call Median and print what was returned Ask if they want to calculate again. If they do, stay in 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!