Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Complete all the accessors (get) and the transform (set) member functions for

ID: 3527376 • Letter: 1

Question

1. Complete all the accessors (get) and the transform (set) member functions for all public and private data members. 2. Create a file (infile.txt) containing data for 5 students. The data file should have the following data members in the sequence below: name ID Phone Number Classification Social Security No. EFC (float) GPA (float) 3. Create (declare) an array of 10 StudentType objects. 4. Read the file and populate the array. This is the start of the program please finish it including the requirements above. #include #include using namespace std; //specification section class StudentType { public: StudentType(); string myname; string myphone_no; char classification; void setName(string); void setPhone(string); void setClass(char); string getName(); string getPhone(); private: string ID; string SSN; float EFC; float GPA; }; //implementation section StudentType::StudentType()//constructor { myname = " "; myphone_no = " "; classification = ' '; }

Explanation / Answer

rate me