ITEC 120 | Back to Assignment index page |
Assignment 1
- Grade report Submit your program to the RU03 folder in your folder on neelix. |
Description: Write a program which generates a nicely formatted grade report.
Suppose you are generating a grade report for a class which includes 3 quiz grades which are graded on a 10 point scale, 1 exam grade on a 100 point scale, and one program grade on a 100 point scale. You'll ask the user to enter these 5 grades, and compute the average of the 3 quiz grades, and the semester average.
To compute the semester average, the quiz average will be worth 40% of the final average, the exam grade worth 35%, and the program grade worth 25%.
Sample run:
Program displays: | Please enter your name: |
User enters: | Bob |
Program displays: |
Enter Bob's score for quiz 1: |
User enters: | 7 |
Program displays: | Enter Bob's score for quiz 2: |
User enters: | 8 |
Program displays: |
Enter Bob's score for quiz 3: |
User enters: | 8 |
Program displays: | Enter Bob's exam score: |
User enters: | 86 |
Program displays: | Enter Bob's program score: |
User enters: | 92 |
Program displays: | -------GRADE
REPORT FOR BOB-------
Quiz
1: 7 Quiz average: 7.7 Exam
grade: 86
|
To get a good grade on this program: