Answered step by step
Verified Expert Solution
Question
1 Approved Answer
16.25 LAB 9A: Mad Lib - Loop Overview Objective Be able to implement a sentinel-controlled loop. Description Remember from Lab 3C that Mad Libs are
16.25 LAB 9A: Mad Lib - Loop Overview Objective Be able to implement a sentinel-controlled loop. Description Remember from Lab 3C that 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. Extend your program from Lab 3C that repeats asking the user for input and displaying the short story until the user wants to quit. EX Enter a name: Eric Enter a place: Lou & Harry's Enter a number: 12 Enter a plural noun: cars Enter an adjective: orange Eric went to Lou & Harry's to buy 12 different types of cars but unfortunately, the cars were all orange 3o Eric went back to Lou & Harry's to return them. Do you want to quit [y]? n Enter a name: Derek Enter a place: JoAnn Fabrics and Crafts Enter a number: 3 Enter a plural noun: sewing machines Enter an adjective: pretty Derek went to JoAnn Fabrics and Crafts to buy 3 different types of sewing machines but unfortunately, the sewing machines were all pretty so Derek went back to JoAnn Fabric and Crafts to return them. Do you want to quit [y]? y Goodbye LAB ACTIVITY 16.25.1: LAB 9A: Mad Lib - Loop 0/200
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started