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
Chemistry,
4 months ago
Sociology,
4 months ago
Sociology,
4 months ago
Biology,
9 months ago
Math,
9 months ago
India Languages,
1 year ago
Computer Science,
1 year ago