Question: Use Module6: Hwl homework to do this homework You are going to build new teatures to this simple banking program. All the additional features that




Use Module6: Hwl homework to do this homework You are going to build new teatures to this simple banking program. All the additional features that i am asking are in Bold. Please note that program that are written without functions wil loose 25% of the grade. Write a program to display the menu with the following options and ask for the user input Type P to populate accounts Type S to search for account. Type D to deposlt Amount Type W to withdraw Amount Type E to exit. .If the user types P. Populate all the three arrays. . And display the menu again. .If the user types D then: Ask the user for the account number. Search the accountnumbers() array for that account number and find Its postion .Ask the user for the amount to be deposlted. Add the deposlt amount to the balance for that account. .. If the user types W then: Ask the user for the account number. Search the accountnumbers() array for that account number and find Its position. . Ask the user for the amount to be withdrawn. Subtract withdrawal amount from the balance for that account only if there is enough balance. Other wise display the message ERROR: Not enough balance" . If the user types S then: Ask the user for the account number. Search the array for that account number and find its position :Display the Name. and balance at the position found during the above search If the user types E. then . Terminate the program after displaying the message Thank you for using the program. Bye Please see the sample test case scenario for exac message 7 -If the user types any other option Display the message "invalid Choice. Try agaln and go pack and cisplay the menu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
