Question: These problems are to be done using C, please put as many comments as possible so that I can follow with what the code is

These problems are to be done using C, please put as many comments as possible so that I can follow with what the code is doing. The files "some_text.txt" and "input.txt" are included as pictures.

These problems are to be done using C, please put as many

comments as possible so that I can follow with what the code

is doing. The files "some_text.txt" and "input.txt" are included as pictures. ing

Engineeri P ECE 175 grams as hutrpy.c wherec ids to the ho

ing Engineeri P ECE 175 grams as hutrpy.c wherec ids to the ho bexample the C program for hwl bmistion s uctionss Use the dropbox on D2I to submit only the se iless Word Reverse Write a C program that asks the user to enter a sentence from the keyboard, and prints the sentence with all the words spelled backwards. Sample execution: Enter a sentence: May the force be with you yaM eht ecrof eb htiw uoy 2 Palindromes A palindrome is a word that reads the same forward as it does backward. An example of a valid palindrome is the word "racecar. An example of a word that is not a palindrome is "trust" (it reads backwards as "tsurt"). Develop a C program that identifies palindrome words. Your program should: . Read words to be checked from a file called input.txt (You can find this file on D2L). . If a word is a palindrome it prints it to a file named palindromes.txt 3 String Search Develop a C program that searches a file for a given string. Your program should Ask the user to enter the file to be searched. . Ask the user to enter the target string. The string can be longer than one word, but no longer than a line. Locate the target string in the file. Your prograrn should be able to identify the target string as a part of another string. You are not allowed to call the strstr function for this part, you have to implement your own . Print the line number as well as the entire line for every match

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!