Write a program to count number of UpperCase characters from the string.
Answers
Answered by
0
Answer: Please mark as brainliest if helpful
Explanation:
1.Scan string str from 0 to length-1.
2.check one character at a time on the basis of ASCII values. if(str[i] >= 65 and str[i] <=90), then it is uppercase letter, if(str[i] >= 97 and str[i] <=122), then it is lowercase letter, if(str[i] >= 48 and str[i] <=57), then it is number,
3.Print all the counters.
Similar questions