write a program that maintains student records.
The essentials of the program.
1. Create a class that keeps the following data of each student
a) The first and last name of a student
b) The GPA
c) The student identification number (each will be 5 digits long)
2. This class will have 5 methods:
a) A get and set method only for the GPA and ID
b) A method that displays the student information on three lines.
3. There should be a constructor that allows for input of first name and last name only.
4. Create a second class that tests the operation of the other class.
5. Create two objects with the following data
a) Tom Thumb who has a 2.76 GPA and an ID of 35791
b) Snow White who has a GPA of 3.35 and an Id 24680
6. The second class should display the contents of each object.
write a program that maintains student records.
The essentials of the program.
1. Create a class that keeps the following data of each student
a) The first and last name of a student
b) The GPA
c) The student identification number (each will be 5 digits long)
2. This class will have 5 methods:
a) A get and set method only for the GPA and ID
b) A method that displays the student information on three lines.
3. There should be a constructor that allows for input of first name and last name only.
4. Create a second class that tests the operation of the other class.
5. Create two objects with the following data
a) Tom Thumb who has a 2.76 GPA and an ID of 35791
b) Snow White who has a GPA of 3.35 and an Id 24680
6. The second class should display the contents of each object.