Question: Homework 8 - Objects and Data Encapsulation - 1 . Create a class for STUDENT objects that uses only private member data. 2 . Data

Homework 8- Objects and Data Encapsulation -
1. Create a class for STUDENT objects that uses only private member data.
2. Data includes: first name, last name, id#, array of 3 subjects, array of 3 grades).
3. Create both accessor and modifier member functions to manage all data operations.
4. Instantiate a STUDENT object.
5. Initialize the data, change the data, and print the data using public member functions.
6. Label the data that is printed.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!