// This program demonstrates the Object conversion operators, // designed to work with the FeetInches class. #include #include "feetinch6.h" using namespace std; int main() { FeetInches distance; double d; int i; cout << "Enter a distance in feet and inches: "; cin >> distance; d = distance; i = distance; cout << endl << "The value " << distance; cout << " is equivalent to " << d << " feet\n"; cout << "or " << i << " feet, rounded down.\n"; return 0; }