Question: A group of five students earned the following grades: Student 1, A; student 2, C; student 3,B; student 4, Aand student 5, B. Write an

A group of five students earned the following grades: Student 1, ‘A’; student 2, ‘C’; student 3,‘B’; student 4, ‘A’and student 5, ‘B’. Write an application that reads a series of pairs of numbers as follows:

a) Student name 

b) Student letter grade.

Your program should use a switch statement to determine how many students got a grade of ‘A’, how many got a grade of ‘B’, how many got a grade of ‘C’, and how many got a grade of ‘D’. Use a loop as needed to input the five student grades, and then finally display the results.

Step by Step Solution

3.39 Rating (161 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets write an application in Python First lets gather the student grades from the user In Python we ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java How To Program Late Objects Questions!