24. Word Game Write a program that plays a word game with the user. The program should ask the user to enter the following: • His or her name • His or her age • The name of a city • The name of a...

C++24. Word Game<br>Write a program that plays a word game with the user. The program should ask the<br>user to enter the following:<br>• His or her name<br>• His or her age<br>• The name of a city<br>• The name of a college<br>• A profession<br>• A type of animal<br>• A pet's name<br>After the user has entered these items, the program should display the following story,<br>inserting the user's input into the appropriate locations:<br>There once was<br>a person named NAME who lived in CITY. At the age of<br>AGE, NAME went to,college at COLLEGE. NAME graduated and went to work<br>as a PROFESSION. Then, NAME adopted a (n) ANIMAL named PETNAME. They<br>both lived happily ever after!<br>

Extracted text: 24. Word Game Write a program that plays a word game with the user. The program should 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 at COLLEGE. NAME graduated and went to work as a PROFESSION. Then, NAME adopted a (n) ANIMAL named PETNAME. They both lived happily ever after!

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here