1. Write a Java program that searches a name in an array. It should ask the user to input a name. If the name exists in
Posted: Fri May 20, 2022 4:35 pm
1. Write a Java program that searches a name in an array. It should ask the user to input a name. If the name exists in the array, print name is the index of the name in the array. Otherwise, print not found. The array is "Salem", "Saleh", "Ahmed", "Turki", "Nasser", "Fahad".