#include<iostream> using namespace std; class Distance { private: int feet,inches; public: Distance() { feet=0;inches=0; } Distance(int f,int i) { feet = f; inches = i; } Distance operator ()(int M) { Distance D; D.feet=M*3.25; D.inches=M*40; …
Read more