3- A student wants to write a simple Account class. He should be able to make deposits and withdrawals and read out the balance. 3.a- List the three member functions (behaviours) of the class Account then draw the Account class model.
3.b- Modify the Account class so that it writes a record of every transaction into a file.
3.c- Draw a derived class Deposit Account that inherits from the Account class. The account should pay interest at an annual rate that is private member data, but impose a 500F fee for every withdrawal.
3.d- Draw a banking system in which client can inquire a creation of an account, inquire his account balance or withdraw money from his account. A client must provide his name, phone number, address for any account creation inquiry. These client data are collected by a client account manager (ClienAccMangr) who then submit the request to a staff (StudStaff) for validation who then deliver a bank card to the client through the client account manager. The client collects his card from his manager then his password from a cooperative manager (CoopMangr). A client can withdraw money through an ATM machine where he slots his card then input his password. At the level of cashiers, a client can do a cash deposit, withdrawal and check of balance.