Write a program that a C++ program that can be used to determine grades at the end of the semester. For each student, who is identified by an integer number between 1 and 60, four examination grades must be kept. Additionally, two final grades must be computed. The first grade average is simply the average of all four grades. The second grade average is computed by weighting the four grades as follows: the first grade gets a weight of 0.2, the second grade gets a weight of 0.3, the third grade gets a weight of 0.3 and the fourth grade gets a weight of 0.2; that is computed as:
0.2*grade1 + 0.3*grade2 + 0.3*grade3 + 0.2*grade4
Using this information, you are to construct a 60*7 two dimensional array, in which the first column is used for the student number, the next four columns for the grades and the last two columns for the computed final grades. The output of the program should be a display of the data in the completed array.
For the test purposes, the following table is provided:
The program should print the grade matrix including the averages. Then it should calculate the mean and standard deviation for both averages for the class and prints the results.
Program Organization
The main() routine should declare and populate the array with the test data shown above. It should then
call a function, passing in the array as a parameter. The function should perform the calculations and print
the result.
Actually i am taking this class from a professor who's accent is difficult to understand. He teaches very differently and most of the students really don't know what he is speaking sometimes. More than half of the class didn't pass his first test. I am completely lost on how to do this program as i don't want to lose any more points which affects my grade.
So i would really appreciate it if y'all can let me know about it. I am not majoring in C++ but i have to take it because it's my college requirement otherwise i would have never came here for it.
Please do let me know if y'all can provide me some info on this program. And yes i need it by Monday.
Really sorry for the stuff.
Anywho, all jokes aside, where are you having a problem? SURELY you can get yourself started with something. Come back with some proven effort, and we'd love to help you from there