ECOO 2002 Boardwide Programming Contest
Problem 1: Diamonds
Write a program that will read 5 words of length 3 to 10 letters and will print out a diamond shape formed from each of these 5 words.
You do not need to worry about center aligning the diamond on the screen. Do not print trailing spaces either.
Sample Input: (2 of 5 cases only)
CANADA Tom
Sample Output:
C A A N N A A D D A A D D A A N N A A C T o o m m o o T
All Submissions
Best Solutions
Point Value: 5
Time Limit: 2.00s
Memory Limit: 16M
Added: Mar 04, 2009
Languages Allowed:
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3
Comments (Search)
It's quiet in here...