Question: Problem 1 the story generator... answer in c++ only please!!! I'm trying to check my answers. Problem 1: The Story Generator In the game Mad-libs,

 Problem 1 the story generator... answer in c++ only please!!! I'mtrying to check my answers. Problem 1: The Story Generator In thegame Mad-libs, players are asked for parts of speech, such as noun,

Problem 1 the story generator... answer in c++ only please!!! I'm trying to check my answers.

Problem 1: The Story Generator In the game Mad-libs, players are asked for parts of speech, such as noun, adjective, or adverb, and those words are plugged into a template sentence to generate a sometimes- funny story Menu Function Write a function called menu that is called by main when your program starts. Inside your menu function, you should first ask the user which story they want to play. Your question should look like: "Which story would you like to play? Enter the number of the story (1, 2, or 3) or type to quit: " If the user types q your program should print "good bye" and exit the function. If the user types in an invalid input, for example "17" or "slkerjqoe", you should print "Valid choice not selected." If the user types in a valid story number, the menu function should call the corresponding story function (story1, story2, or story3) The user should be allowed to play the game as many times as they like. After printing the new story, your program should ask again which story they would like to play "Which story would you like to play? Enter the number of the story (1, 2, or 3) or type q to quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!