Question: Using c++ write a program for the following problem. Please show our output screen. Exercise P8.4. Implement a base class Account and derived classes Savings
Exercise P8.4. Implement a base class Account and derived classes Savings and Checking. In the base class, supply member functions deposit and withdraw. Provide a function daily interest that computes and adds the daily interest. For calcula- tions, assume that every month has 30 days. Checking accounts yield interest of 3 percent monthly on balances over $1,000. Savings accounts vield interest of 6 per- cent on the entire balance. Write a driver program that makes a month's worth of deposits and withdrawals and calculates the interest every day
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
