Computer Science, asked by gandhijanvi04, 8 months ago

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 Anonymous
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