f) Write a program to Display the Count of
all alphabets(ignore case), digits, and
special symbols from a given string
Answers
Answered by
1
Answer:
ABCD THIS LIKE SYMBOLS AND THE OTHER .
Answered by
1
Answer:
Approach : Scan string str from 0 to length-1. 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, Print all the counters.
Similar questions