Question: 1. Prompt the user enter 5 names. Store the values in an array. 2. Prompt the user enter 5 grades. Store the values in an
1. Prompt the user enter 5 names. Store the values in an array. 2. Prompt the user enter 5 grades. Store the values in an array. 3. Print each name and their corresponding grade. 4. Compute the maximum grade and print the corresponding name. 5. Compute the average grade and print: a. The average b. (bonus) Number of grades below the average C. (bonus) Number of grades above the average. Sample Input: Enter 5 names: John Graham Marlon Roseanne Jamee Enter 5 grades: 55.32 79.88 61.15 80.33 14.96 Sample Output: John: 55.32 Graham: 79.88 Marlon: 61.15 Roseanne: 80.33 Jamee: 14.96 Max: Roseanne: 80.33 Average: 52.328 Below average: 2 Above average: 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
