Question
A bank normally updates it's clients accounts at the end of each month.Of the two types of bank accounts:savings and checking, a client must maintain a minimum balance. If the client's balance falls below the minimum, there is a service charge of 50.00 pesos for savings accounts and 100.00 pesos for checking accounts.If the balance at the end of the month is at least the minimum balance, the accounts receives an interest as follows:
-savings accounts receive 5% interest.
-checking accounts with a balance up tp 500.00 pesos more than the minimum balance, will receive an interest of 6% interest; otherwise, the interest is 8%.If the balance drops below zero, display an appropriate message and charge the account of a 500.00 pesos service charge.