Advertisement
Guest User

h33.c

a guest
Nov 24th, 2014
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.69 KB | None | 0 0
  1. /*
  2.  * h33.h
  3.  *  @author your name here
  4.  *  @version CS 150 Fall 2014
  5.  *  Add your class definitions here.
  6.  */
  7.  
  8. #ifndef H33_H_
  9. #define H33_H_
  10.  
  11. #include "Account.h"
  12.  
  13. // Class definitions and constants
  14.  
  15. /////// CONSTANTS /////////
  16. extern const double C_APR;
  17. extern const double S_APR;
  18. ///////////////////////////
  19.  
  20. class Savings : public Account
  21. {
  22. public:
  23.     Savings(const std::string& name, double bal);
  24.     std::string toString() const;
  25.     void addDailyInterest();
  26.  
  27.     ~Savings(){}
  28. };
  29.  
  30.  
  31.  
  32. class Checking : public Account
  33. {
  34. public:
  35.     Checking(const std::string& name, double bal);
  36.     std::string toString() const;
  37.     void addDailyInterest();
  38.  
  39.     ~Checking(){}
  40. };
  41.  
  42.  
  43. #endif /* H33_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement