View the step-by-step solution to:

*Project 4 - Due March 15. MadLibs continues to be a game that amuses small children. It works like this - * a paragraph or two is written with some...

*Project 4 - Due March 15.
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

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question