There are 5 students in class. They took 3 tests. The user enters the scores (integers) of all the tests for each student and the scores are stored into a 2-dimensional array. It will then output their scores along with the labels and the average for each test and each student.
Create the following functions in addition to the main:
A function that will fill the 2-dimensional array with the scores entered from the keyboard.
A function that will display the table shown in the sample run below (all the scores along with the labels and the average for each test and each student).
You must use const.
Sample Run
Enter scores for Test #1
Student #1: 45
Student #2: 78
Student #3: 86
Student #4: 78
Student #5: 67
Enter scores for Test #2
Student #1: 67
Student #2: 88
Student #3: 96
Student #4: 77
Student #5: 57
Enter scores for Test #3
Student #1: 78
Student #2: 56
Student #3: 78
Student #4: 67
Student #5: 57
Test # Stu 1 Stu 2 Stu 3 Stu 4 Stu 5 Average
1 45 78 86 78 67 70.8
2 67 88 96 77 57 77.0
3 78 56 78 67 57 67.2
Average 63.3 74.0 86.7 74.0 60.3
All the numbers should be aligned under the Stu 1, 2, 3 and Average. You need to use a nested for loop to show all these averages.
Help with...? In other words what is your question? Where are you stuck? What is your program doing? What should it be doing instead? Help us help you.