Ok so i've been messing around with this program for many hours and I still dont know how to make it work.
The program is meant to count the words in the string, "Which I will change to make it so it counts the words the user inputs." I thought I was on the right track and hopefully I was.
If you can help me out I will be greatly thankful.
Here is what I have so far.
And once again thanks for the help!!!!!!!
char string1="Count words please";
printf("String Length is %d\n\n",y);
printf("\n\nThere are %d word(s)",z);
As you can tell im a beginner