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...


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 NAl1E who l i vend i n CITY. At the age of AGE, NAl1E went to college at COLLEGE. NA/1E graduated and went to work as a PROFESSION. Then, NA/1E adopted a(n) ANINAL named PETNA/1E. They both lived happily ever after!

Nov 15, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here