Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . 1 1 LAB: Input: Mad Lib Mad Libs are activities that have a person provide various words, which are then used to complete

1.11 LAB: Input: Mad Lib
Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and
hopefully funny) ways.
Complete a program that reads four values from input and stores the values in variables first_name, generic_location,
whole_number, and plural_noun. The program then uses the input values to output a short story. The first input statement is provided
in the code as an example.
Notes: To test your program in the Develop mode, pre-enter four values (in separate lines) in the input box and click the Run program
button. The auto-grader in the Submit mode will test your program with different sets input of values.
Ex: If the input values are:
Eric
Chipotle
12
cars
then the program uses the input values and outputs a story:
Eric went to Chipotle to buy 12 different types of cars
Ex. If the input values are:
Brenda
Philadelphia
6
bells
image text in transcribed

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

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

Students also viewed these Databases questions

Question

What is the U.S. plan for securing cyberspace?

Answered: 1 week ago