In the add interest method decrement the count of months if


Add a Time Deposit Account class to the bank account hierarchy. The time deposit account is just like a savings account, but you promise to leave the money in the account for a particular number of months, and there is a $20 penalty for early withdrawal. Construct the account with the interest rate and the number of months to maturity. In the add Interest method, decrement the count of months. If the count is positive during a withdrawal, charge the withdrawal penalty.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: In the add interest method decrement the count of months if
Reference No:- TGS01721421

Expected delivery within 24 Hours