I created a bank customer class with the following data members name, account number, account type, status (active/dormant), balance and last transaction date (i) Display the name of the customer given the account number (ii) Withdraw funds given the amount. Deny the withdrawal transaction if balance becomes less than 1000. (iii) Change the status of the account from active to dormant if no transactions occurred in the past one year.
I created a bank customer class with the following data members name, account number, account type, status (active/dormant), balance and last transaction date (i) Display the name of the customer given the account number (ii) Withdraw funds given the amount. Deny the withdrawal transaction if balance becomes less than 1000. (iii) Change the status of the account from active to dormant if no transactions occurred in the past one year.