Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Wring a program in C programing language (The following rules should be observed.) You should write a program that reads the book you have downloaded.

image text in transcribed

Wring a program in C programing language (The following rules should be observed.) 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 occi ed 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

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions

Question

Where does most magma originate?

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago