Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Write hello world

Name: Anonymous 2012-02-13 18:30

as complicated as possible and in a functional language of your choosing

Name: Anonymous 2012-02-14 8:27

    import java.io.OutputStreamWriter
;   import java.io.BufferedWriter
;   public class HelloWorld
{   public static void main(String[]commandLineArguementStringArray)
{   char[]charArrayHelloWorld=new char[]
{   72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33, 10
}
;   OutputStreamWriter printToStdout=new OutputStreamWriter(System.out)
;   BufferedWriter bufferedOutputPrint=new BufferedWriter(printToStdout)
;   int iterator=0
;   int helloWorldArrayLength=charArrayHelloWorld.length
;   while(iterator<helloWorldArrayLength)
{   char currentCharacter=charArrayHelloWorld[iterator]
;   try
{   bufferedOutputPrint.write(currentCharacter)
;  
}   catch(java.io.IOException inputOutputException)
{   inputOutputException.printStackTrace()
;
}   iterator=iterator+1

}   try
{   bufferedOutputPrint.flush()
;   printToStdout.flush()
;   bufferedOutputPrint.close()
;   printToStdout.close()
;
}   catch(java.io.IOException inputOutputException)
{   inputOutputException.printStackTrace()
;
}   return
;
}
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List