Created
March 5, 2015 06:22
-
-
Save cjeich/92be74fa93cfb3c9ccb1 to your computer and use it in GitHub Desktop.
BMI Calculator in LOLCODE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/lci | |
HAI 1.2 | |
CAN HAS STDIO? | |
I HAS A WEIGHT | |
WEIGHT R NOOB | |
I HAS A HEIGHT | |
HEIGHT R NOOB | |
I HAS A BMI | |
BMI R NOOB | |
VISIBLE "WAT IS UR WEIGHT IN LBS?????????" | |
GIMMEH WEIGHT | |
VISIBLE "WAT IS UR HEIGHT IN INCHEZ?????" | |
GIMMEH HEIGHT | |
VISIBLE "U R SOOOOO FAT!" | |
VISIBLE "J/K" | |
HEIGHT IS NOW A NUMBAR | |
WEIGHT IS NOW A NUMBAR | |
I HAS A BMITOP | |
I HAS A BMIBOTTOM | |
BMIBOTTOM R PRODUKT OF HEIGHT AN HEIGHT | |
BMITOP R PRODUKT OF WEIGHT AN 703 | |
BMI R QUOSHUNT OF BMITOP AN BMIBOTTOM | |
VISIBLE "UR BMI IS:::)" BMI! | |
KTHXBYE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment