Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Banking Application using Arrays and Functions Using python. Create three arrays called Names and accountnumbers and balance Notice that the Names array is a string

Banking Application using Arrays and Functions Using python. Create three arrays called Names and accountnumbers and balance Notice that the Names array is a string array while accountnumbers and balance will hold numeric values. 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 E to exit. If the user types P. Populate all the three arrays up to 5 values And display the menu again. If the user types S then: Ask the user for the account number. Search the array for that account number and find its position in the accountnumbers array. Display the Name$, and balance at the position found during the above search. If the user types E. then: Terminate the program. If the user types any other option: Display the message Invalid Choice. Try again and go back and display the menu. PS: You program must keep displaying the menu until the user types the option E, to exit the program.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions