Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include "Account.h"
- #include "Date.h"
- using namespace std;
- RegularAccount::RegularAccount(string ownerName_, double balance_, Date &date_):Account(ownerName_, balance_) {
- }
- void RegularAccount::print() const {
- cout << "Regular account, ";
- this->Account::print();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement