A Mad Lib is a paragraph or story with blanks. You ask someone for words to fill in the blanks, and then read them the resulting story, which often is silly and funny, particularly to children. Write a simple C++ program that asks for a noun, a verb, and an adjective from the user, and then inserts them into a paragraph you wrote, and prints the new paragraph to the console. Assume that the noun will be singular, and be sure to use it once in that form, and once in its plural form. For example: // anything like [this] is entered by the user // anything like is your program using the user's input. Please enter a noun: [noun] Please enter a verb: [verb] Please enter an adjective: [adjective]
A Mad Lib is a paragraph or story with blanks. You ask someone for words to fill in the blanks, and then read them the resulting story, which often is silly and funny, particularly to children. Write a simple C++ program that asks for a noun, a verb, and an adjective from the user, and then inserts them into a paragraph you wrote, and prints the new paragraph to the console. Assume that the noun will be singular, and be sure to use it once in that form, and once in its plural form. For example: // anything like [this] is entered by the user // anything like is your program using the user's input. Please enter a noun: [noun] Please enter a verb: [verb] Please enter an adjective: [adjective]
Chapter2: Using Data
Section: Chapter Questions
Problem 4E: In this chapter, you learned that although a double and a decimal both hold floating-point numbers,...
Related questions
Question
100%
please try and follow the instruction
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning