Question: Write a program that asks the user for the number of students in a class. Use a for loop to iterate through each student .
Write a program that asks the user for the number of students in a class. Use a for loop to iterate through each student Use a while loop to get as many scores as the user wants for each student until is entered. Calculate and display the name, sum and average score for each student. Finally, display the name and score of the student with highest score. For example : Tom has scores : total scores is and average is Lina has scores: total scores is and average is Tom has the highest total score of Note: no arrays or ArrayList are allowed ; only loops and variables If you have time write the output to a file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
