Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How many students do you want? You must have at least 1 and at most 30.
- 4
- How many tests will you have? If you enter a negative amount you will have 0
- 3
- Now let's enter the names of your students
- Enter the name of student 1
- Alvin
- Enter the name of student 2
- Nick
- Enter the name of student 3
- John
- Enter the name of student 4
- Atharva
- Now let's enter the names of your tests.
- Enter the name of test 1
- Quiz
- Enter the name of test 2
- Test
- Enter the name of test 3
- Project
- Now let's enter the scores of the students.
- Enter Alvin's grade for test Quiz
- 95
- Enter Alvin's grade for test Test
- 90
- Enter Alvin's grade for test Project
- 93
- Enter Nick's grade for test Quiz
- 80
- Enter Nick's grade for test Test
- 85
- Enter Nick's grade for test Project
- 86
- Enter John's grade for test Quiz
- 73
- Enter John's grade for test Test
- 76
- Enter John's grade for test Project
- 75
- Enter Atharva's grade for test Quiz
- 61
- Enter Atharva's grade for test Test
- 64
- Enter Atharva's grade for test Project
- 63
- Here is your class:
- Quiz Test Project Average Grade
- Alvin 95 90 93 92.67 A
- Nick 80 85 86 83.67 B
- John 73 76 75 74.67 C
- Atharva 61 64 63 62.67 D
- Here are your test averages:
- The average for Quiz is 77.25
- The average for Test is 78.75
- The average for Project is 79.25
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement