Question: using a class, You are tasked with creating a program that helps a teacher calculate the average grade of a class. The teacher has recorded
using a class, You are tasked with creating a program that helps a teacher calculate the
average grade of a class. The teacher has recorded the grades of each
student in the class, and you need to implement a program that takes these
grades as input and calculates the average.
Here are the details:
Input:
The number of students in the class.
The individual grades of each student assume a scale of to
Output:
The average grade of the class.
The names of students who passed the class.
Requirements:
The program should prompt the user to enter the number of students.
To test the program, you may initialize the data.
Then, the program should ask for each student's grade one by one.
Store the grades in a onedimensional array.
Calculate and display the average grade of the class.
Display the banes of all the students who passed the class students
with an average
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
