Question: This problem is in java. Please only complete it with java. Sample Expected input and output below. Another sample input is below. Please complete in

This problem is in java. Please only complete it with java.  This problem is in java. Please only complete it with java.
Sample Expected input and output below.
Sample Expected input and output below. Another sample input is below. Please
Another sample input is below.
complete in java only, and add everything inside the main function if
Please complete in java only, and add everything inside the main function if possible without using any functions.

PROBLEM: Given a sentence (up to 1024 characters long), output the following: 1) 2) 3) The number of different letters. This will be a number from 1 to 26, inclusive. The number of vowels. Vowels are the letters a, e, i, o, and u. The number of uppercase letters. a istini lowercase and uppercase letters 5) The longest word in the sentence. If there is a tie, print the one that appears first when sorting these words alphabetically without regard to lowercase and uppercase. INPUT: One line of data, containing a sentence, up to 1024 characters long. OUTPUT: Print the five statistics specified above in that order. SAMPLE INPUT http://www.datafiles.acsl.org/2019/contest2/jr-sample-input.txt The quick brown fox, named Roxanne, jumped over Bruno, a lazy dog SAMPLE OUTPUT . 25 2. 19 3. 3 5. Roxanne TEST INPUT The 2019 Al1-Star Competition is at Wayne Hills HS in Wayne, New Jersey TEST OUTPUT 1. 16 2. 19 4. 7 5. Competition TEST INPUT The 2019 All-Star Competition is at Wayne Hills HS in Wayne, New Jersey

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!