Write a Console Java Program usingEclipse IDEthat does the following:
Read a sentence from the console. Calculate and output the number of words in the sentence.
Example:
User enters: Now is the time for all men.
Output: 7 words
PLEASE PASTE THE CODE FOR REFERENCE
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here