password is too long. Only passwords with 7 characters are accepted Try again”(1S points) 14) C

password is too long. Only passwords with 7 characters are accepted Try again”(1S points) 14) Create a class named Grades, which has four fields, one for the name of Program struct the student, and three other fields for grades in test 1, test2 and test3. The class should contain two constructors: a no-argument constructor that sets all Methods poin fields to zero, and a constructor that sets all fields to a given value. The class Class demoS should have the appropriate methods to “set” and “get” the values of all helds. The class should also have a method to calculate the average of the three tests. To test the class, you should create a class demo that instantiates one object of the Grades class and asks the user enter the student name and the grades for the three tests The program should set the fields to the values entered by the user using the set” methods, and output to the console the student name, the grades for testl, test2 and test3 as well as their average using “ger” methsls (20 points)

 

Looking for a Similar Assignment? Hire our Top Uk Tutors while you enjoy your free time! All papers are written from scratch and are 100% Original. Try us today! Active Discount Code FREE15