CIS 174 LAB
ASSIGNMENT #12
Assigned date: Thursday 5/1
Due date: Thursday 5/8
20 points
Write a program that read the students' names followed by their test scores.
The program should output each student followed by the test scores and the
relevant grade. It also output the highest test score, the lowest test score and
the average.
Input the students' names and the score from a file called student.txt. Click
here to down load the file. Save the file in your C
drive.
Your program must output each student's name in this form: last name followed by
a comma, follow by a space, followed by the first name, and the grade.
Also output the highest score, the lowest score and the average.
Grading: A (100-90), B (89-80), C (79-70) , D (69-60) and F (59 or below).
Output
Donald, Duckey 85 B
Goofy, Goof 89 B
Balto, Brave 93 A
White, Snow 93 A
Wonderful, Alice 89 B
Beauty, Sleeping 85 B
Lion, Simba 95 A
Elephant, Dumbo 90 A
Deer, Brown 86 B
Jocky, Johny 95 A
Grumpy, Grump 75 C
Happy, Hap 80 B
Dopey, Dop 80 B
Bashful, Bash 85 B
Sleepy, Sleep 70 C
Sneezey, Sneeze 83 B
Malik, Shelly 95 A
Tomek, Chelsea 95 A
Clodfelter, Angela 95 A
Nields, Allison 95 A
Highest: 95
Lowest: 70
Average: 87