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!".
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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am