Question: Perform in C++ Using FILES (main.cpp, basketball.h and basketball.cpp) It is also important to use dynamic memory and overload operator. Use cin Make a class
Perform in C++
Using FILES (main.cpp, basketball.h and basketball.cpp)
It is also important to use dynamic memory and overload operator.
Use cin
Make a class whose objects each represent a basketball.
The only attribute an object will have is the diameter of the ball. Also, the class has to include the following services for its objects:
* determine if two balls are equal
* change the diameter of the ball
* get the diameter of the ball
* show ball information
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
