C++ Program help needed

Here is what the program needs to do:

Write a program that computes the grade of a student if the points earned for all examinations, labs and programming projects were known.

1. Points are earned from the following activites:
-2 mid-term exams (maximum of 75 points each)
-1 final exam(maximum of 100 points)
-Best 10 of 12 labs (maximum of 5 points each)
-Best 10 of 11 programming projects(maximum of 10 points each)

2. All point values are to be read from an input file. The point values for labs must be read into an array. Similarly, the point values for the programming project are to be read into a seperate array.

3 In order to determine the best 10 out of 12 labs, sort the array of lab scores. Then it is possible to easily select the best 10 out of 12 lab scores. Similarly, perform sorting to determine the bet 10 of 11 programming projects.

4. Print the letter grade based on the following table:
Percentage Grade
90-100 A
80-89 B
70-79 C
60-71 D
Below 60 F

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories