Question: Charge Account Validation The program will allow the user to enter a charge account number and determine if the number is valid. The program will
Charge Account Validation The program will allow the user to enter a charge account number and determine if the number is valid. The program will read in a list of valid account numbers into an array (maximum 100). The account numbers will be 7 digits. The program should sort the account numbers in ascending order. The program will ask the user for a charge account number to validate. The program should use a binary search to attempt to find the account number. An appropriate message should be printed after the search. The program will continue to ask for an account number to find until the user enters "XXX". The program must use functions. Rubby Elizabeth Linares Quintana
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
