Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 306 Bytes

reverse-word.md

File metadata and controls

9 lines (5 loc) · 306 Bytes

Write a program (using functions!) that asks the user for a long string containing multiple words. Print back to the user the same string, except with the words in backwards order. For example, say I type the string:

My name is Michele

Then I would see the string:

Michele is name My

shown back to me.