Question: L2T02 - Task 3 Help with a functional Java Create a new file called longWords.java Write a program that determines how many words greater than
L2T02 - Task 3
Help with a functional Java
Create a new file called longWords.java Write a program that determines how many words greater than 4 letters long have been entered and calculate the average length of all the words entered. Firstly, ask the user to enter any number of words and store them in an array. The user should enter 0 to indicate the end of their input.
The program should then determine the number of words longer than 4 letters entered by the user, and print out the result. The average length of the words given should then be calculated and displayed.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
