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
8
plz mark brainliest. ............
Attachments:
Similar questions