Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

c language help needed write a c program that tells you the number of similar letters in a string.

OpenStudy (rsmith6559):

What help do you need?

OpenStudy (anonymous):

I need a c program that takes a string as an input and it tells the number of letters in this string as output

OpenStudy (rsmith6559):

We're not allowed to do your assignments for you. We're only allowed to help you through problems.

OpenStudy (anonymous):

thanx

OpenStudy (anonymous):

/* this is the sterlen (string length) example which will tell you the number of strings (aka letters) */ #include <stdio.h> #include <string.h> /*notice*/ int main () { char szInput[256]; printf ("Enter a sentence: "); gets (szInput); printf ("The sentence entered is %u characters long.\n",(unsigned)strlen(szInput)); return 0; }

OpenStudy (anonymous):

this might help a little.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!