1. Home
  2. /
  3. Lolcode
  4. /
  5. Simple Addition

Simple Addition - Lolcode Typing CST Test

Loading…

Simple Addition — Lolcode Code

Adds two numbers and prints the result.

HAI 1.2
I HAS A NUM1 ITZ 5
I HAS A NUM2 ITZ 10
I HAS A SUM
SUM R SUM OF NUM1 AN NUM2
VISIBLE SUM
KTHXBYE

Lolcode Language Guide

LOLCODE 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.

Primary Use Cases

  • ▸Educational demonstrations of syntax and programming concepts
  • ▸Fun coding projects and memes
  • ▸Experimentation with esoteric language design
  • ▸Introducing programming concepts in a playful manner
  • ▸Artistic or internet culture-inspired coding

Notable Features

  • ▸Humorous English-like syntax
  • ▸Supports variables, expressions, loops, and conditionals
  • ▸Lightweight and interpreted
  • ▸Cross-platform interpreters available
  • ▸Esoteric and creative coding 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.

More Lolcode Typing Exercises

Hello World in LOLCODESimple SubtractionCheck Even NumberCheck Odd NumberSimple MultiplicationSimple DivisionFactorial FunctionFibonacci SequenceMaximum of Two Numbers

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher