Operator overloading; unary and binary math operators. Design a class called Feetinches. Class is designed to hold distances or measurements expressed in feet and inches. It consists of eight member functions: A constructor that allows the feet and inches members to be set. The default values for these members is zero. A setFeet function for storing a value in the feet member. A setinches function for storing a value in the inches member. A getFeet function for returning the value in the feet member. A getinches function for returning the value in the inches member. A simplify function for normalizing the values held in feet and inches. This function adjusts any set of values where the inches member is greater than 12 or less than 0. An operator + function that overloads the standard + math operator. An operator - function that overloads the standard - math operator. ++ Prefix and postfix increment operators. These operators should increment the number of inches stored in the object. When incremented, the number of feet should be automatically simplified. -- Prefix and postfix decrement operators. These operators should decrement the number of inches stored in the object. When decremented, the number of feet should be automatically simplified. Solution Here is the code for you: class FeetInches { int feet; int inches; public: FeetInches() { feet = inches = 0; } FeetInches(int f, int i) { feet = f; inches = i; } void setFeet(int f) { feet = f; } void setInches(int i) { inches = i; } int getFeet() { return feet; } int getInches() { return inches; } void simplify() { feet += inches / 12; inches %= 12; } FeetInches operator+(FeetInches &other) { FeetInches temp; temp.feet = feet + other.feet; temp.inches = inches + other.inches; return temp; } FeetInches operator-(FeetInches &other) { FeetInches temp; temp.feet = feet - other.feet; temp.inches = inches - other.inches; return temp; } FeetInches& operator++() { feet++; inches++; return *this; } FeetInches operator++(int) { FeetInches temp(*this); operator++(); return temp; } FeetInches& operator--() { feet--; inches--; return *this; } FeetInches operator--(int) { FeetInches temp(*this); operator--(); return temp; } };.