Bank Management System | Sololearn: Learn to code for FREE!

-3

Bank Management System

General    Create a structure of a Bank Account with the following properties: Account ID Account Holder Name Account Holder Phone Number Account Holder Email Account Balance Create the following functions: getAccountInformation(): takes an input of account holder name, phone number, and email, assigns id = 1 and balance = 0; showAccountInformation(): prints all the account information getAccountBalance(): returns account balance showMenu(): shows homepage (check attached software for menu) withdraw(): takes an amount as input and withdraws from account balance. (You need to check if the account balance is greater than the withdrawal amount) diposit(): takes an amount as input and deposits it to the account balance. (You need to check if the amount is zero) checkAccount(): checks whether an account is created before using showAccountInformation(), withdraw(), diposit(), getAccountBalance() DOWNLOAD this attached software for better understanding of the assignment.   

4/12/2022 8:43:21 AM

Abdullah Abdullah

2 Answers

New Answer

+1

Nice assignment. What's the question?

+1

This example will help you: https://code.sololearn.com/cTCI3V5bTPE5/?ref=app