/* Name: intcheck.h * Purpose: Header for Bank Interest Checking Account Class * Author: Dr. Michael A. Redmond * Date Written: 05/04/98 * Date Revised: * NOTES: */ #ifndef INTCHECK_H #define INTCHECK_H // in intcheck.h #include "checking.h" #include using namespace std; class IntChecking : public Checking { public: IntChecking(); IntChecking(const string& numb, double bal = 0.0, int currNumChecks = 0, double interestToDate = 0); double GetIntYTD(); double ProcessMonthEnd(); // should be protected but don't have needed mutator for initialization static double minBalForInt; static double IntPct; protected: double IntYTD; // interest year to date }; #endif