Question: In Java, Write a program that plays a word game with the user. The program should ask the user to enter the following (7 points):
In Java, Write a program that plays a word game with the user. The program should ask the user to enter the following
(7 points): - Their name - Their age - The name of a city - The name of a college - A profession - A type of animal - A pets name
After the user has entered these items, the program should display the following story, inserting the users input into the appropriate locations
(14 points): There once was a person named NAME who lived in a 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! Write a second story of your choosing incorporating all 7 inputs from the user. Have this display after the first story
Please write comments explaining the process
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
