Question: A location is read from input into location _ input. String location _ input is output, followed by favorite _ spots. Modify favorite _ spots
A location is read from input into locationinput. String locationinput is output, followed by favoritespots. Modify favoritespots so that favoritespots starts with a tab and each location in favoritespots is separated by a tab.
Ex: If the input is pool, then the output is:
pool library zoo park grocery store
locationinput input
favoritespots library zoo park grocery store'
printlocationinput, end
printfavoritespots
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
