Question: For this programming assignment, you will write a C program that will read an arbitrary number of lines of text from input and print out
For this programming assignment, you will write a C program that will read an arbitrary number of lines of text from input and print out the number of words. Words are character sequences that include at least 1 upper/lower case alphabet character and may include apostrophe ' and dash - characters as well. No line of input will be longer than 100 characters, and the program should print the word count and exit when it reads an empty line.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
