Create a class measure having data members: feet and inch.

c) Create a class measure having data members: feet and inch. Another class distance having
data members Meter. Define a function such that it adds two different objects of both the
classes and display equivalent distance in Centimeter. Define main ( ) to test the class.

Leave a Reply