Question: / * * accout.h * * Created on: Jan 2 1 , 2 0 1 5 * Author: liuyan * / #ifndef ACCOUT _ H
accout.h Created on: Jan Author: liuyan #ifndef ACCOUTH #define ACCOUTH #include "Owner.h class Owner; class Account private: static const int MAXOWNERSIZE ; int accountNum; account number double balance; the balance Owner holders; the holders eg joint account owners of this account int numOwner; public: Account; default constructor Accountint double; regular constructor Accountconst Account &; copy constructor ~Account; destructor int getAccountNumber const; returns account number double withdrawaldouble; makes a withdrawal double depositdouble; makes a deposit void setBalancedouble; sets the balance double getBalance const; returns the balance void addOwnerconst Owner&; adds an owner to the account void listOwners const; list all the owners of this account ; #endif ACCOUTH
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
