^sahar^
09-28-2007, 10:52 AM
create a savingsAccount class. use a static data member to contain the annualInterestRate for each of the savers.each member of the class contains a private data member savingsBalance indicating the amount the saver currently has on deposit.provide a calculateMonthlyInteresRate divided by 12,this interest should be added to savingsBalance.provide a static member function modifyInterestRate that sets the static annualInterestRate to a new value.write a driver program to test class SavingsAccount.instantiate two different savingAccount objects,saver1 and saver2,with balances of $2000.00 and $3000.00,respectively.set annualInterestRate to 3%.then calculate the monthly interst,and print the new balances for each of the savers.then set the annualInterestRate to 4%,and calculate the next month 's interest and print the new balances for each of the savers.



