Mode:
Duration:
1
2
3
4
5
6
7
HAI 1.2
I HAS A NUM1 ITZ 10
I HAS A NUM2 ITZ 4
I HAS A DIFF
DIFF R NUM1 MINUS NUM2
VISIBLE DIFF
KTHXBYECoding works best on desktop or with an external keyboard.
HAI 1.2
I HAS A NUM1 ITZ 10
I HAS A NUM2 ITZ 4
I HAS A DIFF
DIFF R NUM1 MINUS NUM2
VISIBLE DIFF
KTHXBYECoding works best on desktop or with an external keyboard.
Subtracts one number from another and prints the result.
HAI 1.2
I HAS A NUM1 ITZ 10
I HAS A NUM2 ITZ 4
I HAS A DIFF
DIFF R NUM1 MINUS NUM2
VISIBLE DIFF
KTHXBYELOLCODE is an esoteric programming language designed to resemble the syntax and grammar of 'lolspeak', the internet meme language used by LOLcats. It is intended as a humorous, educational, and experimental programming language.
Origin & Creator
Created by Adam Lindsay in 2007 as a humorous take on programming languages using LOLcats language.
Industrial Note
LOLCODE has minimal industrial application; its niche is educational, creative coding, and demonstrating non-standard programming language design.