Question: c++ please Write a program that lets the user enter a charge account number. The program should determine if the number is valid by checking
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
