Question: Just While - loop. otherwise no credit. Question: Calculate the average of students: 1 ask user how many students are in the class. 2 .
Just Whileloop. otherwise no credit.
Question: Calculate the average of students:
ask user how many students are in the class.
fot each student ask how many grades do you bave
ask user to enter grades for that student and for each grade validate it
after getting valid grades for each student then calculate the average for that student.
Sample output:
How many students are in the class:
Student I: how many grades you have:
Student Grade:
Student, Grade:
Error: Invalid grade enter again.
Student Grade:
Student Grade:
Average for Student is
Student : How masy grades you have?
Student Grade :
Student Grade :
The average for student is
End of the program
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
