Many of these programming challenges can be written either with or without the use of classes. Your instructor will tell you which approach you should use.
Charge Account Validation
Write a program that lets the user enter a charge account number. The program should determine if the number is valid by checking for it in the following list:
Initialize a one-dimensional array with these values. Then use a simple linear search to locate the number entered by the user. If the user enters a number that is in the array, the program should display a message saying the number is valid. If the user enters a number not in the array, the program should display a message indicating it is invalid.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.