Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

Students also viewed these Databases questions

Question

7. It is advisable to do favors for people whenever possible.

Answered: 1 week ago

Question

9. Power and politics can be destructive forces in organizations.

Answered: 1 week ago