Question: Write a JAVA program that uses the Linear Search Algorithm. The program should ask the user to input TEN letters. The program should store the
Write a JAVA program that uses the Linear Search Algorithm. The program should ask the user to input TEN letters. The program should store the letters into an array. The program will then ask the user which letters to search for. If the letter is IN the array, the program should return the position of the letter in the array. If the letter is NOT in the array, the message Letter is not found will be displayed. User must enter Q to exit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
