Can anyone help me to count the uppercase and lowercase letters in a text?
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.
Mainframe assembler programmer by trade. C coder when I can.
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