Fortune Plus Limited requires a simple menu driven banking program to monitor their four (4) savings accounts, as shown in the display below. The accounts are identified by account numbers that are stored in an array. (Use modules)
If the Deposit option is chosen, then the user must enter the account number, and also enter the amount to be deposited. If the account number exists, then the amount is added to the existing balance and the user is shown the new balance. The program then returns to the menu display as shown below.
If the Withdraw option is chosen, then the user must enter the account number, and also enter the amount to be deducted. If the account number exists, then the amount is deducted, plus a service charge of 7% and the user is shown the new balance. The program then returns to the menu display as shown below.
If the Query option is chosen, then the user must enter the account number, and if the account number exists, then the balance on a particular account is displayed. The programme then returns to the menu display as shown below.
If the user selects the Exit option by pressing zero (0), then the program will terminate, issuing some appropriate message to the user.
Dear customer, Unfortunately, your question requires a lot of work and cannot be done for free. Please submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment