Question: Create a new Java class called: MadLib Write a Java application program that will create and display a mad lib. A mad lib is a

 Create a new Java class called: MadLib Write a Java applicationprogram that will create and display a mad lib. A mad lib

Create a new Java class called: MadLib Write a Java application program that will create and display a mad lib. A mad lib is a short story where the user gives answers to several questions, and then the answers are used to fill in a funny story Begin by asking the user to enter an adjective, a noun, an animal, and a noise (in that order!). Store each item in a separate String variable Once you have all four items, use the appropriate String method to change the users items to all uppercase letters, then use them to create the following song, filling in the blanks where specified adjective_ Macdonald had a_noun , E-I-E-I-O and on that_noun_ he had a(n)_animal_, E-l-E--o with a_noise_noise here and a_noise_noise there, here a_noise_, there a_noise, everywhere a_noise__noise_, adiective Macdonald had a_noun, E-I-E-I-O The following is an example of what your MIGHT see on the screen when your program runs. The exact output depends on what values that the user types in while the program runs. The user's inputted values are shown below in italics: Enter an adjective: loud Enter a noun: table Enter an animal: giraffe Enter a noise: clap LOUD Macdonald had a TABLE, E-I-E-I-O and on that TABLE he had a (n) GIRAFFE, E-I-E-I-O with a CLAP CLAP here and a CLAP CLAP there, here a CLAP, there a CLAP, everywhere a CLAP CLAP, LOUD Macdonald had a TABLE, E-I-E-I-O

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!