Sunday, February 22, 2009

Puzzle 1 – Hello World

Language – Java/C++ | Type – Problem (Code) | Last date 25-Feb-2009 9:00 p.m. IST | Points 5

Well here I was trying to write my first Java code. I was pretty excited. I started typing just to realize that the ‘W’ key on my keyboard wasn’t working. That’s when I had to write my Hello World code without a ‘W’. Do you think you can help me out with this?

Write a program to print “Hello World”.
Twist: Do not use the letter ‘W’ or ‘w’ in the source code.

Pretty simple stuff, but then it’s just the beginning of a long journey …

1 comment:

  1. {
    char c='v'+1
    System.out.println("Hello "+c+"orld);


Solution for this question?