Input:
- Enter your objective test scores, -1 to stop.
- Enter your project scores, -1 to stop.
- Enter your performance scores, -1 to stop.
Output:
Letter grade (A-F)
Rules:
- First average the performance tests, objective tests, and project scores.
- Objective tests are worth 20% of the final grade.
- Performance tests are worth 60% of the final grade.
- Project grades are worth 20% of the final grade.
- A = 100-90
- B = 80-89
- C=70-79
- D=60-69
- F=0-59
- There are at most five objective tests, five projects, and four performance exams.
No comments:
Post a Comment