subject

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 below that repeats asking the user for input and displaying the short story until the user wants to quit.

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 so Eric went back to Lou & Harry's to return them.

Do you want to quit [y/n]? 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/n]? y
Goodbye

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
Ihave been given the number of guns per 100, and the total firearm-related deaths per 100,000. i have to find the actual number of guns per country and actual number of gun-related deaths. if somebody could show me how to do 1 question, i can finish the rest, i am just confused. tia
Answers: 3
question
Computers and Technology, 23.06.2019 19:00
Write a program that displays the following menu: geometry calculator 1. calculate the area of a circle 2. calculate the area of a rectangle 3. calculate the area of a triangle 4. quit enter your choice (1-4): if the user enters 1, the program should ask for the radius of the circle and then display its area. use the following formula: area = ď€(the square of r) use 3.14159 for ď€ and the radius of the circle for r. if the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. use the following formula: area = length * width if the user enters 3, the program should ask for the length of the triangle’s base and its height, and then display its area. use the following formula: area = base * height * .5 if the user enters 4, the program should end. input validation: display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. do not accept negative values for the circle’s radius, the rectangle’s length or width, or the triangle’s base or height. note: if the user enters an improper menu choice (1-4), the program prints "the valid choices are 1 through 4. run the program again and select one of those." if the user enters a negative radius, the program prints "the radius can not be less than zero." if the user enters a negative value for height or base, the program prints "only enter positive values for base and height."
Answers: 1
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
question
Computers and Technology, 24.06.2019 03:40
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i.e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
You know the right answer?
Mad Libs are activities that have a person provide various words, which are then used to complete a...
Questions
question
Mathematics, 23.06.2019 20:30
question
Mathematics, 23.06.2019 20:30
Questions on the website: 13722363