Question: programing in C that is my code i just want to know why its not displaying the file 12 Console Shell > clang-7 -pthread -lm

programing in C
programing in C that is my code i just want to know
why its not displaying the file 12 Console Shell > clang-7 -pthread
that is my code i just want to know why its not displaying the file

12 Console Shell > clang-7 -pthread -lm ./main main.c 1 #include 2 3 #define IN 1 /* Inside a text */ 4 #define OUT 0 /* Outside a text */ 5 6 int main(void) { 7 int c, nw=0, state=OUT; o oo on I 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 while((c=getchar()) !=E0F) { if (c==' Il C== ' ' || c=='\t"){/if(isspace(c) if (state IN) { state = OUT; putchar(' '); } } else { if(state == OUT) { state = IN; ++nw; } putchar(c); } } //printf(" %d ", nw); return; Objective: To gain experience in the use of repetition and character processing, Problem definition: Write a program that echoes the input one word per line. Remove all punctuation and all blank lines. Input: Use the following Ogden Nash poem to test your program. The Parsnip The parsnip, children, I repeat, Is simply an anemic beet. Some people call the parsnip edible; Myself, I find this claim incredible. Note: There are multiple blank lines before and after the title. There may be multiple blank spaces or tabs between words. There may be multiple blank lines in the text. Use getchar () and putchar (). YOU MAY NOT USE ANY STRING HANDLING FUNCTIONS IN THIS PROGRAM The only functions you may use are input and output functions, such as getchar and putchar. Output: One word per line left justified. (No punctuation, no blank lines between words.)

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!