Create an application that reads the contents of the file


Problem

Charge Account Validation In the Chap07 folder of the Student Sample Programs, you will find a file named ChargeAccounts.txt. The file contains a list of a company's valid charge account numbers. There are a total of 18 charge account numbers in the file, and each one is a 7-digit number, such as 5658845. Create an application that reads the contents of the file into an array or a List. The application should then let the user enter a charge account number. The program should determine whether the number is valid by searching for it in the array or List that contains the valid charge account numbers. If the number is in the array or List, the program should display a message indicating the number is valid. If the number is not in the array or List, the program should display a message indicating the number is invalid.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create an application that reads the contents of the file
Reference No:- TGS02673188

Expected delivery within 24 Hours