/* SavingsAccount.cpp CIS 250 2013-03-14 David Klick modified by: date: This is the implementation file for the SavingsAccount class for the Bank Account assignment. */ #include "SavingsAccount.h" SavingsAccount::SavingsAccount(const char* accnum, const double bal, const double intrat) { // implement this constructor } double SavingsAccount::getInterestRate() const { return interestRate; } void SavingsAccount::setInterestRate(const double intrat) { interestRate = intrat; } void SavingsAccount::postInterest() { // figure out the interest and add it to the balance } bool SavingsAccount::withdraw(const double amt) { // if the balance is large enough to cover the amt, then // reduce the balance by that amount and return true, // otherwise return false } std::ostream& operator<<(std::ostream& strm, const SavingsAccount& sa) { // implement the insertion operator overload return strm; }