Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PLEASE USE JAVA The Original 1Mad Lies Mad Libs is a phrasal template game wherein one person asks another person for a list of words

image text in transcribed

PLEASE USE JAVA

The Original 1Mad Lies Mad Libs is a phrasal template game wherein one person asks another person for a list of words to substitute for blanks in a story. Once the story is read, the words are substituted into the blanks and hilarity ensues. MADOLIBS 19 Create a program that plays a game of mad libs matching the output below. You'll prompt a user to enter the following types of words in order: HOS O 1. Verb 2. Academic Subject 3. Verb 4. Noun 5. Noun 6. Noun 7. Integer Number Finally you'll substitute the words into the following story and display the results on the screen for the user to read. 112 Did you know you can 3 the 4 of a 5 with 6 of length 7 as PI x 7 x 7. The answer is approximately PI*7*7 (rounded to two decimals). Blue Terminal Window- 1-W2020 Let's play Mad Libs! Enter a Verb: love Enter an Academic Subject: geometry Enter a Verb: calculate Enter a Noun: area Enter a Noun: circle Enter a Noun: radius Enter an Integer: 5 I love geometry! Did you know you can calculate the area of a circle with radius of length 5 as PI X 5 X 5? The answer is approximately 78.54 Can only enter input while your programming 1 Recall that a noun is a person place or thing while a verb is an action word. In the above the output for you program will replace those # with the values you asked the user to input. See below for an example. The result of the final calculation should be printed accurate to 2 decimal places. Once again your program should match the input and output of the sample program exactly

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions