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 find the 10 most occurred lower-case letter in the

image text in transcribed

C Code

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

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

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

8. Describe the main retirement benefits.

Answered: 1 week ago

Question

=+C&B (especially taxation) laws, regulations, and practices?

Answered: 1 week ago