Word Swapping

For your May challenge, write code that takes a two word sentence and displays the words in reverse order. For example, take the string Swap me and have the program spit out the text me Swap.

Please attempt the exercise before you peek at my solution. Remember that my solution is merely one way of solving the problem.

Exercise Solution

Leave a Reply