Question: The code must be in c language only. Please submit the code within 12 hours what were known as Mad-Libs. These consisted of a story

The code must be in c language only.
Please submit the code within 12 hours  The code must be in c language only. Please submit the
code within 12 hours what were known as "Mad-Libs." These consisted of
a story with several blanks that were labelled with a part of

what were known as "Mad-Libs." These consisted of a story with several blanks that were labelled with a part of speech or a vague description of the type of word that was to be filled in that blank. One sibling would ask the other to provide the words. After all the words were provided, the story would be read aloud, and much hilarity would ensue. For this project we will be providing a system that processes "Mad-Libs" in the form of text files into another text file which contains the resulting story. The program will ask the user for two files, one input file with the Mad-Lib template, and an output filename in which it will write the final story. See the sample run for an example Mad-Lib Template File The template file is a normal text file that contains both the text of the story and "tokens" that will be replaced by words entered by the user. All of the words, punctuation, and tokens are separated by spaces. (This makes the output a little awkward, particularly around periods, but we'll let it go) A token is a word that starts with the character and contains no spaces within it. It may contain hyphen(-)characters which will get replaced by spaces when prompting the user r that particular word. Algorithnm The program will open both files and the repeatedly process each word in the template file. If it is not a token word, it will simply copy it to the output file. if it is a token word, it will convert the description between the characters into human-readable form, use it to prompt the user for a replacement word and then write the replacement word to the output file. Project Your program must have a good design with little duplicate code and good use of functions. I have provided a description of the functions that I used in my solution. I have not described which functions call which other functions. You do not have to follow this design exactly (although it will probably make things easier if you do...). isvowel (char ch) Returns true if ch is a vowel istoken (char word ]) Returns true if word is a token

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!