Can anyone help me to count the uppercase and lowercase letters in a text?
Printable View
Can anyone help me to count the uppercase and lowercase letters in a text?
Post the code you have so far. Tell us where you are stuck.
Use isupper() and islower() from ctype.h to check if the character is uppercase or lowercase.
Hint: You'll probably have to loop through each character ;)