Question: The following class class studentType { private: char firstName[25]; char lastName[25]; int testScore[4]; double averageScore; public: }; int main(){ studentType student[30]; } Write c++ code

The following class class studentType { private: char firstName[25]; char lastName[25]; int testScore[4]; double averageScore; public: }; int main(){ studentType student[30]; } Write c++ code ti create a constructor of studentType to initialize the member variables. Also write function to input values of the member variables and print the values

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 Databases Questions!