In C++ please. I would like the solution.
3.35 LAB: Mad Lib-loops
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.
Write a program that takes a string and an integer as input, and outputs a sentence using the input values as shown in the example below. The program repeats until the input string is "quit" and disregards the integer input that follows.
Ex: If the input is:
apples 5 shoes 2 quit 0
The output is:
Eating 5 apples a day keeps you happy and healthy. Eating 2 shoes a day keeps you happy and healthy.
LAB ACTIVITY
3.35.1: LAB: MadLib-oops
0/10
main.cpp
Load default template
1 #include <iostream>
2 #include <string>
3 using namespace std;
4
5 int main()
6 {
7 /* Type your code here. */
8
9 return 0;
10 }