1. Home
  2. /
  3. Lolcode
  4. /
  5. Maximum of Two Numbers

Maximum of Two Numbers - Lolcode Typing CST Test

Loading…

Maximum of Two Numbers — Lolcode Code

Finds and prints the maximum of two numbers.

HAI 1.2
I HAS A NUM1 ITZ 10
I HAS A NUM2 ITZ 15
BOTH SAEM NUM1 BIGGR THAN NUM2, O RLY?
	YA RLY
		VISIBLE NUM1
	NO WAI
		VISIBLE NUM2
OIC
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 AdditionSimple SubtractionCheck Even NumberCheck Odd NumberSimple MultiplicationSimple DivisionFactorial FunctionFibonacci Sequence

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher