Question: Create a class called Student, which contains the following data members: private: int x; protected: float y; Class Student should include the following member functions:

Create a class called Student, which contains the following data members: private: int x; protected: float y; Class Student should include the following member functions: (1) Default constructor that sets x and y to 0 and 0.0, respectively (2) Parameterized constructor that take two input arguments: int a, float b (3) Copy constructor (4) Overloading of "=" operator Implement a main(), in which you need to design test cases to test each of the above member functions. Create screenshots to show the results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
