Description: 1. To design a type SavingsAccount, define a static data member of record of deposits interest rate (rate), every member of the class contains a private data member balance, that the members of the current amount of the deposit. Member functions to provide a CalMonthlyInterest (), for the purpose of calculating interest on (with balance multiplied by the rate divided by 12), and this month joined the balance of interest. Provide a static member function ModifyRate (), to change the static data members of the value of rate. SavingsAccount definition of two different objects saver1 and saver2, the current deposit balance amount of 2000.00 and 3000.00, respectively. First rate is set to 3 , calculated for each of the monthly interest of depositors and print new results, and then rate is set to 4 , again calculated for each of the monthly interest of depositors and print new results.
To Search:
File list (Check if you may need any files):
ex11.cpp