1. Click here to get Solution on ProgAnswer.com
The TestStudent.cs program on the next page calculates the average score of a single student on
three exams. Enhance this program by making the following changes:
1) Add a integer Student Id to the attribute list as well as a getId() method.
2) Besure to update the constructor to allow the user to enter the Id.
3) In the main, allow the user to enter the number of students and create an array of Student
objects based on the number entered.
4) Allow the user to enter the number of scores for each student.
Declare an array of scores in the attribute list of the Student class definition.
Allow the user to enter the number of test scores for each student by making the appropriate
changes to the constructor and the calcAverage() method of the Student class.
5) Print a report as shown below.