So I'm fairly new to Java Programming, a few weeks into the class and I have a homework assignment that requires me to count the amount of capitals, lower cases, and spaces in sentence the user puts in. I was wondering how to make the program count the amount of capitals and lower cases using the ascii codes. Any help would be appreciated:)