Can anyone help me to count the uppercase and lowercase letters in a text?
This is a discussion on Counting uppercase and lowercase letters in a text within the C Programming forums, part of the General Programming Boards category; 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.
Mac and Windows cross platform programmer. Ruby lover.
Quote of the Day
12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.
Amen brother!
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![]()