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