Code Wars V

Program / Task Name:

   Word Scramble




Point Value:




Task Description

Write a program that will reverse the letters in each of a sequence of words while preserving the order of the words themselves.

Program Input

The text to scramble can be found in and might look as follows:

2002 noititepmoC gnimmargorP sraW edoC
2002 ,2 hcraM
noitaroproC retupmoC qapmoC
melborP elbmarcS droW

Program Output

Write the scrambled text to the screen.

Code Wars Programming Competition 2002
March 2, 2002
Hewlett-Packard Company
Word Scramble Problem


hp Code Wars
Hello -- Dominos?...
  (c) 2004 Hewlett-Packard Company