Question: Write a program that echoes the input one word per line after removing all spaces, punctuations, and all blank lines. Use getchar ( ) and

Write a program that echoes the input one word per line after removing all spaces,
punctuations, and all blank lines. Use getchar() and putchar() functions only. You may not use
any string or character handling functions in this program.
Use the following Ogden Nash poem to test your program. Input should have the poem title.
There are multiple blank lines before and after the title. There are multiple blank spaces or tabs
between words. There are multiple blank lines in the text.
The Parsnip
The parsnip, children, I repeat,
is simply an anemic beet,
some people call the parsnip edible;
myself, I found this claim incredible.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!