82.1k views
1 vote
The assignment is to modify the class implementation without changing the functionality. Remove the feet and inches data members and replace them with one data member named total_inches. Re-implement all the class methods so they have he same functionality as originally. This means that any program written using the public members of the new class must produce exactly the same results as the original implementation.

User CrownFord
by
8.0k points

1 Answer

6 votes

Answer: The solution can be found in the attached

Step-by-step explanation:

The assignment is to modify the class implementation without changing the functionality-example-1
The assignment is to modify the class implementation without changing the functionality-example-2
The assignment is to modify the class implementation without changing the functionality-example-3
The assignment is to modify the class implementation without changing the functionality-example-4
The assignment is to modify the class implementation without changing the functionality-example-5
User Ian Clelland
by
8.1k points