1. Take the input from the user into a string called input
2. Use string length to go to the end of the string.
3a. Start iterating towards the start of the string. When you hit the space char, then stop. Store the chars that you iterated over into a temp string.
b. Reverse the temp string and then store the output in the output string
4. Repeat step 3 till you cover the entire input string
Aia commented: GOTO jail, don't collect $200. Where's that free jail card when needed? ;) +9
jonsca commented: "anonymous" is just some stupid stupid stupid spammer anyway +4
tux4life commented: Yes. +8
Xufyan commented: thanks...xufyan +1
Ancient Dragon commented: Linked list -- good suggestion :) +26