Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

C Code ( Not C++)

image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Microsoft Visual Basic 2017 For Windows Web And Database Applications

Authors: Corinne Hoisington

1st Edition

1337102113, 978-1337102117

More Books

Students also viewed these Databases questions

Question

What is the content-level meaning?

Answered: 1 week ago

Question

Example. Evaluate 5n+7 lim 7-00 3n-5

Answered: 1 week ago

Question

2. What should an employer do when facing an OSHA inspection?

Answered: 1 week ago