Question: Problem You are to write a fortune telling game program that fills random parts of speech into a fortune template to create funny fortunes. (The

 Problem You are to write a fortune telling game program that

Problem You are to write a fortune telling game program that fills random parts of speech into a fortune template to create funny fortunes. (The parts of speech will be read from files into class-level arrays.) The user can also view a list of places they may visit in the future and search to see if a particular person will be in their future. The user will be shown the following menu choices Fortune Telling dame What's in your future . view List of Places 2. Search for a Person LEARN YOUR FORTUINe t 4. Quit the progras enter your choicer Program 6: Part 1- Driver & Stubs Create a C++ project and solution named LastnameProgram6-7 Before the beginning of the main function Include all necessary header files, namespace, etc. Write prototypes for all user defined functions In the main function Call a function to read the data from the text files into the arrays Display the menu Read in the user's choice Use a switch statement to call functions in response to choices 1, 2, or 3 Use a while or do while loop to continue to display the menu until the user chooses to quit (choice 4). Error Checking: Ensure the user enters a valid menu choice. User Defined Functions (Stubs) Declare an appropriately named function to read in the data Declare appropriately named functions for choices 1, 2, and 3 Within each function body, simply display a message that control has reached the function. Zip & Submit 1. Zip your top level LastnameProgram6-7 solution folder -Driver & Stubs Only!-to the Program 6 link on Canvas

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!