Question: Write a class definition studentType which has two public functions: setData and print. - setData is a void function that take a string and a

Write a class definition studentType which has two public functions: setData and print. - setData is a void function that take a string and a double as parameters. - print is a void function with no parameter. - print() will not alter any variables in the studentType object. - There are two private members: stuName (string type) and gpa (double type).

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!