views:

121

answers:

0

It's kinda interesting question. Please prints out "Hello World!", but you have to do this in the following code pattern:

        if(/**you may add your code here**/){  
            System.out.print("Hello ");  
        }else{  
            System.out.println("world!");  
        }  

this is a Java version, you can also implement it in another languages following the same code pattern.