write a program by using scanner class to input a sentence and print the number of characters found in the longest word of the given sentence. for example,if S equal to " India is my country. then the output is 7.
Answers
Answered by
2
India is my country then the output is 7
Similar questions