comparing character and int

I want to write a function counting number of letters in the string.

for example:

Enter a string: 2010 is happy
Number of letter: 7

Actually, I want to know how to do that...Since all are chacacters in the string and I have no idea to start with...


Thank you very much.
Last edited on
Topic archived. No new replies allowed.