+1

Patrick Stark
· November 18, 2015
I'm having a problem in my c++ course, here is my assignment:
This chapter's program asks you to utilize a multidimensional array.
Read in from input, where every 6th row represents a new student's grades.
Row 1 is attendance, which is out of 10 points, Row 2 is homework, which is out of 30 points. Row 3 is quizzes, which is out of 20 points, Row 4 is midterm which is out of 15 points. Row 5 is Final, which is out of 25 points. So, the first position in the array, aryData[0][0] will hold the value out of 10 points, aryData[0][1] will be the value out of 30 points, etc..
First, read in all of the data into a multidimensional array. Then, call a function that you send the array to and calculate the average of each grade type, such as attendance average is 8, homework average is 27, etc... and output it to the screen.
Next, call a function that you send the array to and calculate the average grade for the entire class. Output what the average is for the entire class. So as an example...
10 20 10 10 20 5 15 8 8 18
70 + 54
Attendance Avg: 7.5 Homework Avg: 17.5 Quizzes Avg: 9 Midterm Avg: 9 Final Avg: 19
Student Average: 62
At least 5 comments It should compile It should give the correct output as defined I need to know what a function would look like that added 0,0 and 5,0 and divided it by the total possible score to get average. I'm taking online course and my instructor takes days to answer
