Need help with this small program that uses a string.
Posted on 2006-11-11
I'm writing this program, my instructions are:
Write function that accepts a string as an input then prints out the following:
a. Number of characters in the string excluding spaces
b. Number of letter "a" (small or capital) in the string
c. Number of alphabets in the string
I would like to know if as right now my program is coded as directed, and if you could please
let me know how I would go about doing a and c.
I have spent a big portion of the day trying to lookup examples or info on the net or on this site on how that is done
with no success.
Thank you for your time and help.