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:
![](https://hi-static.z-dn.net/files/da1/087a268e4956a1e6fa55d103e92ccac7.jpg)
utkarshmishra9819:
mark it as the Brainliest answer please
Similar questions