Question: Write a program the prompts the user for information for three students. For each student prompt for the student ID and three quiz grades.
Write a program the prompts the user for information for three students. For each student prompt for the student ID and three quiz grades. Use a nested loop, where the inner loop prompts for the three quiz grades. Print the student's name and average formatted to two decimal places. View the sample output as a guide. Enter name of student 1: Mary Jones Enter score 1 78 Enter score 2: 90 Enter score 3: 91 Mary Jones 86.33 Name: Average Enter name of student 2: Kevin Smith Enter score 1 90 Enter score 2: 77 Enter score 3: 85 Name Kevin Smith 84.00 Average: Enter name of student 3: Lauri Reiner Enter score 1: 79 Enter score 2 83 Enter score 3: 92 Name: Lauri Reiner 84.67 Average:
Step by Step Solution
3.54 Rating (154 Votes )
There are 3 Steps involved in it
To solve this problem we need to write a program that collects the names and quiz scores for three s... View full answer
Get step-by-step solutions from verified subject matter experts
