Question: Exercise 4 Write a program that request an instructor to enter the number of students in his class, then asks the grades of all students

Exercise 4 Write a program that request an instructor to enter the number of students in his class, then asks the grades of all students sequentially and ends up computing the average class grade. Note that there is no average if there are no students! Sample runs below: How many students are in your class? 4 What is the graded of student \#1? 85 What is the graded of student \#2? 90 What is the graded of student \#3? 95 What is the graded of student \#4? 92 The average class grade is 90.5 How many students are in your class? 0 You had no students in the class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
