In this assignment you have to write a class, and then write a main program that tests the methods of this class. The class should be called studentRecord . An object of this class holds test-grade data about a student enrolled in a college course.
Scores array a .
The parameter w is an array of weights, which must have the same length as the Scores array, and whose entries must add to 1. My original plan for this problem included a second class which would be an array of studentRecords for all the students enrolled in a course. Your program to test the methods of this class should do the following things. Print the average score for this new student.