Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include "Account.h"
  4. #include "Date.h"
  5.  
  6. using namespace std;
  7.  
  8. RegularAccount::RegularAccount(string ownerName_, double balance_, Date &date_):Account(ownerName_, balance_) {
  9. }
  10.  
  11. void RegularAccount::print() const {
  12.  
  13.     cout << "Regular account, ";
  14.     this->Account::print();
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement