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
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
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
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".
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!