Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
I have written the code in Java Im giving you the main method code below Code public static void ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started