Question: Lab 2E: Make the Grade Problem Description Your program will be given the list of correct answers to a multiple-choice test (no cheating!) followed by

 Lab 2E: Make the Grade Problem Description Your program will be

Lab 2E: Make the Grade Problem Description Your program will be given the list of correct answers to a multiple-choice test (no cheating!) followed by a list of responses from students. Your program must determine each student's grade by comparing their answers against the correct answers. Each question is worth an equal number of points. Since this is a multiple-choice test, the answer to each question will be represented by an uppercase letter: A, B, C, or D. Once all the correct answers are tallied, you'll need to print their final score as a percentage along with their letter grade, as follows: Sample Output Your program must print one line for each student in the order presented, containing the following information, separated by spaces: The student's name The student's score, as a percentage rounded to one decimal point (include any trailing zeroes) The student's letter grade Sample Output Bob 62.5% D Sarah 75.0% C Kris 87.5% B A - 90%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!