// File: savingAccount.h // savingAccount header file #include "account.h" class savingAccount : public account // this is inherited from account { protected: double rate; // decimal periodic interest rate public: savingAccount(double bal, double pct); double compound(void); // compute and deposit interests double withdraw(double amt); };