A neighborhood credit union has contracted you to write a banking application for the credit union. The credit union would like to be able to accept deposits from its members, allow customers or members to withdraw money from their account, make internal transfer between member’s accounts, and perform account balance inquiry.
The application should be able to create an account and assign an account number, and at any time, a member can request an account with the CU to be closed. This account closed function can be deferred to be implemented later. There is a minimum account opening amount for any account is $5.00. No member’s account should go below their minimum opening balance threshold. This rule must be enforce and the only exception is with an account with an overdraft protection.
The application must validate all transactions amount.