#include "distance.h" #include using namespace std; int main() { Distance d1(6, 6.5); Distance d2,d3,d4,d5; d2.inputDist(); d3 = d1 + d2; d1.outputDist(); cout << "plus "; d2.outputDist(); cout<< "= "; d3.outputDist(); cout << endl; if (d1 > d2) { d1.outputDist(); cout << " is greater than "; d2.outputDist(); } else { d2.outputDist(); cout << " is greater than "; d1.outputDist(); } cout << endl; cout << "now we see if overloading the << operator works "<