Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * h33.h
- * @author your name here
- * @version CS 150 Fall 2014
- * Add your class definitions here.
- */
- #ifndef H33_H_
- #define H33_H_
- #include "Account.h"
- // Class definitions and constants
- /////// CONSTANTS /////////
- extern const double C_APR;
- extern const double S_APR;
- ///////////////////////////
- class Savings : public Account
- {
- public:
- Savings(const std::string& name, double bal);
- std::string toString() const;
- void addDailyInterest();
- ~Savings(){}
- };
- class Checking : public Account
- {
- public:
- Checking(const std::string& name, double bal);
- std::string toString() const;
- void addDailyInterest();
- ~Checking(){}
- };
- #endif /* H33_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement