C++ simple programming (Arrays)

C++ simple programming (Arrays)

Write a program to provide a report of student grades. Each student is given four exams. The final grade of each student is determined by calculating the weighted average of all the exams. Your report should show the final grade of each student, the class average, and the maximum and minimum grades for the class.
The firstrecord of the input file contains the weights (proportions) for the four exam grades. This should be read into one array. The set of data input for each student contains the following information:
— Student’s name
— Student’s ID
— Grade for exam 1
— Grade for exam 2
— Grade for exam 3
— Grade for exam 4
When you read each set of student grades, read it into a second array. Process one student at a time. Read the input file until there is no more data.
Use the following test data:
— weights for exams: .10, .20, .25, .45
— first student record: 101101032, 75, 87, 79, 92
— make up the rest yourself (there should be 15 sets of grades).
Your report file output should be neat and readable with appropriate headings.

READ ALSO :   Academic help online