Question: Jump to level 1 A fruit is read from input into fruit _ input. String shopping _ list is output, followed by fruit _ input.
Jump to level
A fruit is read from input into fruitinput. String shoppinglist is output, followed by fruitinput. Modify shoppinglist so that each fruit in shoppinglist is separated by a tab and shoppinglist ends with a tab.
Ex: If the input is plums, then the output is:
grapes raspberries lemons blackberries apples plums
fruitinput input
shoppinglist grapes raspberries lemons blackberries apples'
printshoppinglist, end
printfruitinput
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
