Write a program in Java to accept a sentence and convert all its letters into uppercase
Count and print the number of letters of English alphabet that have been used in the
sentence (i.e. if a letter occurs I or more times than it is counted as 1).
For example if the sentence entered is:
"FOR ME PARENTS ARE GOD ON EARTH
Then the output should be: 13 letters.
Answers
Answered by
0
Explanation:
Program in Java to accept a sentence and convert all its letters into uppercase
Count and print the number of letters of English alphabet that have been used in the
sentence (i.e. if a letter occurs I or more times than it is counted as 1).
Similar questions
English,
4 months ago
Physics,
4 months ago
Math,
4 months ago
Biology,
8 months ago
Math,
8 months ago
India Languages,
11 months ago
Computer Science,
11 months ago