Computer Science, asked by priya1068, 9 months ago

5. Write a program in Java to enter a String/Sentence and display the longest word and
the length of the longest word present in the String.
Sample Input: "TATA FOOTBALL ACADEMY WILL PLAY AGAINST MOHAN
BAGAN"
Sample output: The longest word: FOOTBALL: The length of the word: 8​

plz.....solve it fast

Answers

Answered by brijeshhkumar1980
8

plz mark brainliest. ............

Attachments:
Similar questions