d help creating a C++ code. I need help writing a program that lets the user enter a charge account number. Then the program needs to determine if the number is valid by checking an array with these values. 5658845, 4520125, 7895122, 8777541, 8451277, 1302850, 8080152, 4562555, 5552012, 5050552, 7825877, 1250255, 1005231, 6545231, 3852085, 7576651, 7881200, 4581002 Then I just need a simple linear search to locate the numb
I need help creating a C++ code. I need help writing a
5658845, 4520125, 7895122, 8777541, 8451277, 1302850, 8080152, 4562555, 5552012, 5050552, 7825877, 1250255, 1005231, 6545231, 3852085, 7576651, 7881200, 4581002
Then I just need a simple linear search to locate the numbers entered by the user. If the user enters a correct number it should display a message "valid" if not invalid.
Required:
I need help creating a C++ code. I need help writing a program that lets the user enter a charge account number. Then the program needs to determine if the number is valid by checking an array with these values.
5658845, 4520125, 7895122, 8777541, 8451277, 1302850, 8080152, 4562555, 5552012, 5050552, 7825877, 1250255, 1005231, 6545231, 3852085, 7576651, 7881200, 4581002
Then I just need a simple linear search to locate the numbers entered by the user. If the user enters a correct number it should display a message "valid" if not invalid.
Step by step
Solved in 2 steps with 3 images