Question: 14.5 Prog5: findAvg-2Darray Write a program that prompts for an integer N (number of students) and M (number of test scores for each students), and


14.5 Prog5: findAvg-2Darray Write a program that prompts for an integer N (number of students) and M (number of test scores for each students), and allows the user to N*M real numbers. The program then calculates the average for each student and class average. (1) Prompt the user to input N students and M test scores, then display the inputs (4 points) Enter number of students: You entered: 2 Enter number of test scores: You entered: 3 Enter 6 real numbers: You entered: 85.3 73.498.5 92.186.488.9 (2) Calculate the averages of each student (4 pts) There are 2 students. The averages Eor each student are 85.63 89.13
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
