Operater Overloading Using 'class' Keyword (OOP)-2
PROBLEM: Create a class that imitates part of the functionality of the basic data type int. Call theclass Int (note different……
PROBLEM: Create a class that imitates part of the functionality of the basic data type int. Call theclass Int (note different……
PROBLEM: Create a classdistance to add an overloaded- operator that subtracts two distances. It should allow statements like dist3=dist1-dist2;.Assume……