Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C CODE You should write a program that reads the book you have downloaded. Program will request 4 characters from the user and will delete
C CODE
You should write a program that reads the book you have downloaded. Program will request 4 characters from the user and will delete the words starting with this character. Program should continue to request character until the entered character is a letter. In addition, your program will request 4 words from the user and change these words with the 4 most occurred word in the text, respectively. You should do this operation after you have deleted the words starting with the entered letters. At the end, program will save the new text into separate text file. For example, entered characters are y,h,s,u. First program will delete all words starting with these letters. Then, the entered words are he, she, we, they and the program will replace the entered words with 4 most occurred word (e.g. I, you, your, their) in the text, respectively (e.g. he~I, sheyouweyour, theytheir). You are not allowed to use string.h library. You should allocate memory dynamically. All operations should not be done in the main() function. You must use at least one more function besides main()Step 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