Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

Execute LOLCODE Online

BTW Sample LOLCODE code
BTW "CAT ON SHELVES"

 HAI 1.2
 I HAS A SHELF_0 ITZ 10
 VISIBLE SHELF_0
  I HAS A SHELF_01 ITZ 19
 VISIBLE SHELF_01
  I HAS A SHELF_02 ITZ 7
 VISIBLE SHELF_02
  I HAS A SHELF_03 ITZ 4
 VISIBLE SHELF_03
  I HAS A SHELF_04 ITZ 4
 VISIBLE SHELF_04
 
VISIBLE "HOW MANY LETTERBOOKS?"

VISIBLE SUM OF SHELF_01 AN SHELF_0
 
 IM IN YR SHELVES UPPIN YR MYSHELF TIL BOTH SAEM MYSHELF 5 
 VISIBLE MYSHELF
 
 
 
 BOTH SAEM MYSHELF AN 3
 O RLY?
        YA RLY
                VISIBLE "I HERZ"
                NO WAI
                    VISIBLE "I NO HERE"
        OIC 
 
 IM OUTTA YR SHELVES
 
 
 KTHXBYE

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.