Classwork 9 - UMBC-CMSC104/General GitHub Wiki

For this assignment, we're going to be experimenting with various string functions. Name your code strings.c.

You are to write a program that reads in a string, prints out the length, and counts the number of words in the sentence.

Welcome to classwork 9!
Please type a sentence: One two three four five
The length of the string is 23.
There are 5 words in this sentence.

You can assume that a word is delimited by a space character, and that there will be only one space between each word.

submit cs104_wilson cw09 strings.c