Question: create a program that prompts the user for some values like a name, a number, a verb, or an adjective. Your program then prints a
create a program that prompts the user for some values like a name, a number, a verb, or an adjective. Your program then prints a story and fills in the blanks with the values the user entered. An example program is given here. printStory Time!"
name inputEnter a name:"
fruit inputEnter a fruit:"
count intinputEnter an integer:"
amount floatinputEnter another number:"
printOne day,",name,"went to the store."
printname"wanted to buy",count,fruit,"."
printThe store said they cost",amount,"each."
total count amount
printSoname,"paid",total,"for",count,fruit,"."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
