A class Distance has two data members: feet in integer and inch in float.

b) A class Distance has two data members: feet in integer and inch in float. Overload
>> operator to input data and << operator to display distance in 10’-3.5” format. (12 inch=1 foot)

Leave a Reply