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
Get step-by-step solutions from verified subject matter experts
