MadLibs continues to be a game that amuses small children. It works like this -
* a paragraph or two is written with some key words missing. In their place is
* an indication of the type of word (proper name, adjective, adverb, verb, etc.)
* that should be placed there. Then one person gets to ask every other person
* in turn to provide that kind of word and the blanks are filled in.
* When complete, the text is read back, generally to great hilarity.
* In this project, we are going to take a stab at implementing such a game in Java.
* Consider the following paragraph:
<drink> is a mighty <adjective> computer <noun>. While <student-name> cannot understand
* why one needs to <verb> it, Professor <beloved- professor-name> thinks that it should
* be <adverb> learned. Of course, <Computer-zillionaire> would prefer that everyone
* uses <Ancient-language> instead.You are to write a program that reads in a paragraph
* from a file that is in that format, then prompts the user for the words of the specified type
* (drink, adjective, etc.) and produces the complete document.
* @author owner
Recently Asked Questions
- Please refer to the attachment to answer this question. This question was created from exercise.
- The mean blood pressure for 47-year-old males in the United States is normally distributed with a mean of 139 mg and a standard deviation of 26 mg . A doctor
- The secretion of the hormone _________ within the brain helps promote drowsiness .