Question: LUNC Juay Uy 11.JU: Polnes 10 Problem Description Write a program that plays a word game with the user. The program shall ask the user
LUNC Juay Uy 11.JU: Polnes 10 Problem Description Write a program that plays a word game with the user. The program shall ask the user to enter the following: His or her name His or her age The name of a city The name of a college A profession A type of animal A pet's name After the user has entered these items, the program should display the following story, inserting the user's input into the appropriate locations: There once was a person named NAME who lived in CITY. At the age of AGE, NAME went to college a COLLEGE. NAME graduated and went to work as a PROFESSION. Then, NAME adopted a(n) ANIMAL named PETNAME. They both lived happily eve rafter! Requirements Please do all of the following: 1. Write a c++ source code named WordGame.cpp. Make sure the file compile and run correctly. 2. Test your program with 5 different sets of input data. Make sure you capture the interactions, 3. Create a folder named FirstnameLastname_Lab1 (example, John Doe Lab1) and put the source code and test output (screen captures) in the folder 4. Copy the whole folder to the Dropbox on G drive: G:\vyu\cis22a\DropBox. Do not compress
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
