Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create an application that allows the user to enter a customer'saccount number. The application should lookup name and balance based on the accountnumber according to

Create an application that allows the user to enter a customer'saccount number.
The application should lookup name and balance based on the accountnumber according to the following list:

AccountNumber
Name
Balance
7221379
6853921
4215534
5551298
6224649
6502286
8448936
2883903
6752376
3564698
6373150
6375372
8736368
7218536
6681985
3909086
5221192
5901163
2427821
6331655
Abula
Allen
Austin
Bailey
Balovich
Bates
Bettencourt
Blackburn
Boucher
Brown
Duncan
Estrada
Fernandez
Gallagher
Gonzales
Ha
Hernandez
Howard
Johnston
Nguyen
970.12
268.01
3821.94
3193.97
444.21
4253.79
2916.99
906.31
1291.99
2001.18
2963.20
1152.60
1113.05
3703.46
2667.88
3042.25
72.04
2229.66
3130.92
3004.99

The data should be stored in three parallel arrays. A sequentialseach should be used to locate the account number entered by theuser. If the user enters an account number that is not in thearray, the program should display a message indicating the accountnumber is not in the list. If the user enters an account numberthat is in the list, the program should save the index (position)that the account number was found, and use that index to lookup thecustomer name and balance. The program is to display both thecustomer name and balance.

HINT:
Copy and paste each list of data from this page into your program.You will still need to do some formatting such as quotation marksand commas, but this will save you a lot of typing.

EXTRA CREDIT:
For extra credit, give the user the option of looking up thecustomer's name and finding the account number The account numberlookup must work before doing the extra credit.

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

Programming With Microsoft Visual Basic 2017

Authors: Diane Zak

8th Edition

1337102121, 9781337517058, 978-1337102124

More Books

Students also viewed these Databases questions

Question

Discuss whether happier people make more money.

Answered: 1 week ago