FOLLOW THE COMMENT GUIDELINES EXACTLY.
Write a program that uses methods from class String. The program should read any sentence as one long string and then print out the first four words, if they exist.
input>>The moon is made of green cheese.
input>>All dogs have a tail.