Programming Challenge. Day 1. Hello World

By | 10 December, 2013

So, found this link the other day:

(Twitter post is me, I accept that, but follow the short link :D)

Challenge for today is to write a programme which outputs Hello World.

Javascript version (using Windows Scripting Host):

//runs in windows scripting host
WScript.Echo("Hello World");

…the Powershell Version:

write-host "Hello World";

…the C# version:

class HelloCsharp
{
 static void Main()
 {
 System.Console.WriteLine ("Hello from C#.");
 }
}

and an image of the HP OO version:

2013-12-10_16-20-29

Leave a Reply