LOLCODE

This code snippet below is a Hello World program written in LOLCODE.

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

For something slightly more advanced, here’s a loop that prints out the numbers from 1 to 10

HAI
CAN HAS STDIO?
IM IN YR LOOP UPPIN YR VAR TIL BOTHSAEM VAR AN 10
VISIBLE SUM OF VAR AN 1
IM OUTTA YR LOOP
KTHXBYE

via LOLCODE – Wikipedia, the free encyclopedia.

This article was posted by Kai Howells. If you liked this content and have any technical work in the Melbourne area, say hello via my contact form or give me a call on 0419 361 653 - I cover most of the greater Melbourne area and my rates are competitive.

One Response to LOLCODE

Leave a Reply

Your email address will not be published. Required fields are marked *