Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 inputStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started