Write a program that prompts a user to enter the name of a file and a word.
Question:
Write a program that prompts a user to enter the name of a file and a word. The input file should be a simple text file that contains a list of words. Use a binary search to look for he word the user entered and display if the word was found in the list or not.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Guide To Java A Concise Introduction To Programming
ISBN: 978-3031228414
2nd Edition
Authors: James T. Streib, Takako Soma
Question Posted: