Intro to Java Classwork: Sentence Evaluator
Write a Java program named "SentenceEvaluator.java" that has the user
enter a sentence containing at least three words.  It is okay if the
words and/or sentence contain punctuation symbols.  There should be
exactly one space between words, and there should not be any spaces
at the very start or very end of the sentence.

After getting the sentence, do the following:
  1) Determine and report how many characters are in the sentence
  2) Use a 'for' loop to determine and report how many words are
     in the sentence; consider a word to be any combination of
     contiguous characters with a space on either or both sides
  3) Use a 'for' loop to determine and report how many uppercase
     and lowercase letters are in the sentence
  4) Use a 'for' loop to determine and report how many vowels and
     consonants are in the sentence
  5) Print the sentence with the order of the characters reversed

Use complete sentences when reporting the above information to
the user.

For this assignment, you are not permitted to put all of your code
in the 'main' method.  Instead, you must put nearly all of your
code into separate user methods, with the 'main' method consisting
almost exclusively of variable declarations and calls to the user
methods.  In addition to 'main', your program must have at least
six user methods:  one method for getting the sentence from the
user, and five additional methods for completing each of the five
tasks listed above.

For this program, other than the 'Scanner' class, you may not import
or use any external methods.  However, you may use global variables
in your program.  Your program's output should be neat, organized,
and easy to understand.


As always, all of your code must be your own, written entirely and
only by you within your online CodeHS.com account.  You must never
copy/paste, receive, view, or in any way use code that was created
or modified by another person, entity, or artificial intelligence.


Advanced Option #1
After completing the regular part of the assignment, tell the user
if the sentence is a palindrome.  A palindrome is a letter, word,
or phrase that, after removing spaces and punctuation (everything
that is not a letter), and ignoring case, is identical when
displayed forwards and backwards.  For example, the following are
all considered to be palindromes:
  Was it a cat I saw?
  Never odd or even.
  Lewd did I live, & evil I did dwel!
  Able was I ere I saw Elba.

Advanced Option #2
After completing the regular part of the assignment, print the
sentence with the order of the words reversed.

For example, if the user's sentence is
  I like lots of candy!
then the sentence with the order of the words reversed is
  candy! of lots like I

This option may be completed along with, or instead of, the first
advanced option.