how to make the combuter differentiate between capital or small or digit ??

hi, i'm new student in the c++ programming ..

my homework tell us to enter differentiates between a set of characters read
A character could be an upper case letter,
lower case letter,
a digit or a symbol.
Print for each character its type. Continue to read the characters until the user enters @.


Note: use do while loop


the symple output like:


Enter a character: t
t is a lower case letter
Enter a character: F
F is an upper case letter
Enter a character: *
* is a symbol
Enter a character: b
b is a lower case letter
Enter a character: @
Thanks!


how to make the combuter differentiate between capital or small or digit ?


thanks.. :s
Topic archived. No new replies allowed.