Question: PART 2 Hint: you do not need to know how to read a file. Please use getchar) to obtain the input.] 4) (2 points) Write

PART 2

PART 2 Hint: you do not need to know how to read

Hint: you do not need to know how to read a file. Please use getchar) to obtain the input.] 4) (2 points) Write a single line shell command to run the C program above and remove all words "a" from the file news.txt 5) (3 points) Please write a C program removeWord.c to obtain the input from standard input and remove all word "the" 6) (4 points) Please write a C program countsentence.c to obtain the input from standard input and count the number of sentences. Assume a sentence should end with...". ? or!. 7) (Bonus: 4 point) Please write a C program listFreq.c to list the frequency of each word from the standard input. Hint: you do not need to know how to read a file. Please use getchar) to obtain the input.] 4) (2 points) Write a single line shell command to run the C program above and remove all words "a" from the file news.txt 5) (3 points) Please write a C program removeWord.c to obtain the input from standard input and remove all word "the" 6) (4 points) Please write a C program countsentence.c to obtain the input from standard input and count the number of sentences. Assume a sentence should end with...". ? or!. 7) (Bonus: 4 point) Please write a C program listFreq.c to list the frequency of each word from the standard input

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!