1) Write a Java program that ask the user to enter the elements of an array of type String and size 4. 2) The program wi
Posted: Fri May 20, 2022 1:35 pm
1) Write a Java program that ask the user to enter the elements
of an array of type String and size 4.
2) The program will ask the user for a letter and then check the
elements of the array and prints “FOUND!” if there is at least one
element that starts with that letter. Print the number of words
starting with the letter.
3) Otherwise the program will print “NOT FOUND!".
of an array of type String and size 4.
2) The program will ask the user for a letter and then check the
elements of the array and prints “FOUND!” if there is at least one
element that starts with that letter. Print the number of words
starting with the letter.
3) Otherwise the program will print “NOT FOUND!".