Question: Writing a program in C programming language. You should write a program that reads the book you have downloaded and finds palindromes: Your program will

Writing a program in C programming language.

 Writing a program in C programming language. You should write a

You should write a program that reads the book you have downloaded and finds palindromes: Your program will search for the text file to find the palindromes. A palindrome is a word or phrase such that has the same character order in either forward or reverse direction (1.e., level, dewed etc.) Your program should also determine the occurrence of these palindromes inside the text. In addition, your program should request two words from the user and should delete these two words and palindromes from the text file and save it as a new text file. Your program will determine the occurrence of these two requested words. For example, the content of the new text file will be First requested word is king, and it occurred 100 times in the text. Second requested word is queen, and it occurred 256 times in the text. One of the palindromes is level, and it occurred 556 times in the text. One of the palindromes is dewed, and it occurred 188 times in the text. This part of the text file will include the new text with deleted palindromes and requested 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!