Write a program to input a sentence find and display the following: (i)Number of words present in the sentence (ii) Number of letters present in the sentence.Assume that the sentences neither including digit nor special character. By util.*package not by array.
Answers
Answered by
10
Hope it is helpful.And please follow me if it is.And i have used the variables such that it becomes apparent which variable is storing what.
Attachments:
utkarshmishra9819:
mark it as the Brainliest answer please
Similar questions