Question: Write a program that prompts the user to enter 10 numbers. The program will then access the array by reading in the numbers and computing

Write a program that prompts the user to enter 10 numbers. The program will then access the array by reading in the numbers and computing the weighted average which is the average of 8 of the 10 numbers where the smallest and largest numbers are removed when computing the average. Therefore, you will need two loops: i) One to determine the smallest number and ii) One to determine the largest number.

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!