// File: money.h. C++ source code for money class specification #ifndef MONEY_T #define MONEY_T #include "boolean.h" class money{ public: money(); // construct $0.00 money(long, int); // construct $dollars.cents money(double); // construct from double void AssignMoney(long, int); // assign $dollars.cents void AssignMoney(double); // assign double to this object void AddTo(money); // add money to this object void MultiplyBy(double); // multiply object by double double quotient(money); // return this object/money boolean_t LessThan(money); // is < parameter? boolean_t EqualTo(money); // is == parameter? void display(void); // display amount private: long DollarsAndCents; // total amount in cents long round(double); // round to nearest integer }; #endif