Question: CHALLENGE ACTIVITY 2 . 1 1 . 2 : Representing text. 5 1 9 1 8 2 4 0 1 0 8 9 6 9
CHALLENGE
ACTIVITY
: Representing text.
Jump to level
A location is read from input into locationinput. String favoriteplaces is output, followed by locationinput. Modify favoriteplaces so that each location in favoriteplaces is separated by a newline and favoriteplaces ends with a newline. Ex: If the input is bank, then the output is:
art
gallery
aquarium
boutique
store
bank
locationinput input
favoriteplaces art "gallery", "aquarium", "boutique", "store"
favoriteplaces art in gallery in aqurium In boutique store locationinput
printfavoriteplaces, end
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
