Code Wars V
     

Program / Task Name:

   Word Scramble

Level:

 

 Novice

Point Value:

 

 3

 

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 prob03.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