Question: C Code (Not C++) You should write a program that reads the book you have downloaded. Program will find the 10 most occurred lower-case letter

C Code (Not C++)

C Code (Not C++) You should write a program that reads the

You should write a program that reads the book you have downloaded. Program will find the 10 most occurred lower-case letter in the text and will convert these letters to uppercase. In addition, your program will request 2 words from the user. Program will check if these two words appear sequentially throughout the text. It should find how many times these two words appear sequentially and delete these words from the text. At the end, program will save the new text into separate text file. The content of it should look like this: Entered words are: I am They appear 543 times throughout the text sequentially. Character y occurred 25551 times Character o occurred 22051 times Character u occurred 20336 times Character c occurred 15134 times Character b occurred 12357 times Character d occurred 11392 times Character g occurred 7582 times Character z occurred 5705 times Character t occurred 2705 times Character x occurred 1705 times This part of the text file will include the new text with converted letters and deleted entered words. 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

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!