Question: Can you fix the problem with the following code #include #include using namespace std; class bankAccount {public: bankAccount(int,double); void setAccNum(int); int getAccNum(); double getBalance(); void
Can you fix the problem with the following code
#include { checkingAccount a(1234,1000); checkingAccount b(5678, 450); savingsAccount c(91011, 9300); savingsAccount d(121314, 32); a.deposit(1000); b.deposit(2300); c.deposit(800); d.deposit(500); a.postInterest(); b.postInterest(); c.postInterest(); d.postInterest(); a.print(); b.print(); c.print(); d.print(); a.writeCheck(250); b.writeCheck(350); c.withdraw(120); d.withdraw(290); a.print(); b.print(); c.print(); d.print(); system("pause"); return 0; }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
