Answer:
Explanation:
Firstly, we open a file stream to read the text file and use split method to break the input into a list of individual numbers (Line 1 - 3). We set the first item of the inputList to count variable and create a numArr list (Line 4-5).
Use a for loop to populate the number from inputList to numArr (Line 6-7) and display the number from the list (Line 9).
Next, prompt user to search for a number from list (Line 11).
If the input is matched with one of the item in numArr, display found message or display a not found message if the input is not available in the numArr (Line 13 -16). Prompt the user again to check if the user wish to quit the search (Line 18). If not, repeat the same process to input a search value and check the value is found in the numArr and display appropriate message (Line 21 - 28).