Question: Need to submit 3 files :main.cpp , studentType.cpp , and studentType.h for c++ defined the struct studentType to implement the basic properties of a student.Define
Need to submit 3 files :main.cpp , studentType.cpp , and studentType.h for
c++ defined the struct studentType to implement the basic properties of a student.Define the class studentType with the same components as the struct studentType, and add member functions to manipulate the data members. (Note that the data members of the class studentType must be private.) Write a program to illustrate how to use the class studentType.
I need to create at least 5 member functions including constructor. Below is the definition of struct studentType:
struct studentType
{
string firstName
string lastName
char grade;
int testScore;
int programmingScore;
double GPA;}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
