Tutorialspoint

I HAZ A FIB

HAI 1.2
    VISIBLE "I HAZ A FIB!!!1!"
    I HAS A a ITZ 0
    I HAS A b ITZ 1
    I HAS A c
    I HAS A cownt ITZ 0
    VISIBLE a
    VISIBLE b
    IM IN YR LOOP UPPIN YR cownt TIL BOTH SAEM cownt AN 10
        c R SUM OF a AN b
        VISIBLE c
        a R b
        b R c
    IM OUTTA YR LOOP
KTHXBYE

spirala archimedesa

HAI 1.2
I HAS A t ITZ A NUMBAR, t R 0.0
I HAS A r ITZ A NUMBAR, r R 0
I HAS A omega ITZ A NUMBAR, omega R 1.0
I HAS A theta ITZ A NUMBAR, theta R PRODUKT OF omega AN t
I HAS A x ITZ A NUMBAR, x R 0.0
I HAS A y ITZ A NUMBAR, y R 0.0
I HAS A dt ITZ A NUMBAR, dt R 0.1
I HAS A a ITZ 2
I HAS A MAXi ITZ 200
I HAS A i ITZ 0
VISIBLE "promien r  |  kąt theta"
IM IN YR petla UPPIN YR i TIL BOTH SAEM i AN MAXi
  theta R SUM OF theta AN PRODUKT OF omega AN dt
  r R PRODUKT OF a AN theta
  t R SUM OF t AN dt
  VISIBLE SMOOSH r AN ":>:>" AN theta MKAY
IM OUTTA YR petla
KTHXBYE

cache

HAI 1.2
I HAS A STUFFZ
HOW IZ I EATED YR CHEEZ AN YR PIZZA
I HAS A CHEEZBURGR ITZ 1
IM IN YR HOUZ UPPIN YR BOWL TIL BOTH SAEM BOWL AN PIZZA
CHEEZBURGR R PRODUKT OF CHEEZBURGR AN CHEEZ
IM OUTTA YR HOUZ
FOUND YR CHEEZBURGR
IF U SAY SO
I HAS A SUMFIN ITZ " "
HOW IZ I NOM YR COOKEHS AN YR COOKEH
BOTH SAEM COOKEH AN "DELISHUS", O RLY?
YA RLY, FOUND YR SUM OF COOKEHS AN 2
MEBBE BOTH SAEM COOKEH AN "HAPPEE"
FOUND YR SUM OF COOKEHS AN 1
NO WAI, FOUND YR COOKEHS
OIC
IF U SAY SO
STUFFZ R "."
HOW IZ I IMPROOV YR KITTEH
I HAS A H4XX0R ITZ 4
KITTEH, WTF?
OMG "INVISIBLE"
H4XX0R R 3
BTW DO NOT WANT!
GTFO
OMG "CHEEZ"
BTW U CAN HAZ CHEEZ, K?
GTFO
OMG "CHEEZBURGERZ"
BTW U NO KETCHIN MOUSIES, SRSLY
H4XX0R R 5
OMGWTF
FOUND YR 0
OIC
FOUND YR H4XX0R
IF U SAY SO
I HAS A ELEVENTEEN ITZ I IZ EATED YR 2 AN YR I IZ IMPROOV YR "CHEEZ" MKAY MKAY
I HAS A CHEEZBURGERZ ITZ SUM OF I IZ EATED YR 2 AN YR 5 MKAY AN I IZ EATED YR 4 AN YR 2 MKAY
I HAS A BUKKITZ ITZ I IZ NOM YR ELEVENTEEN AN YR "DELISHUS" MKAY
I HAS A CATURDAY ITZ PRODUKT OF I IZ EATED YR 2 AN YR 5 MKAY AN 13
VISIBLE CHEEZBURGERZ SUMFIN BUKKITZ STUFFZ CATURDAY
I HAS A INVISIBL ITZ I IZ IMPROOV YR "BJUTIFUL" MKAY
CHEEZBURGERZ R I IZ NOM YR ELEVENTEEN AN YR "HAPPEE" MKAY
BUKKITZ R I IZ NOM YR 3 AN YR "HAPPEE" MKAY
I HAS A ANIMULZ ITZ QUOSHUNT OF CATURDAY AN 2
ANIMULZ R SUM OF ANIMULZ AN I IZ EATED YR 3 AN YR 1 MKAY
VISIBLE INVISIBL CHEEZBURGERZ SUMFIN INVISIBL BUKKITZ STUFFZ ANIMULZ
KTHXBYE

lolfenn

HAI 1.2
  I HAS A FOODSLAVE
  GIMMEH FOODSLAVE

  HOW IZ I TAPPING YR FOODSLAVE
      VISIBLE "COMMENCING PURR ATTACK AGAINST " FOODSLAVE
  IF U SAY SO

  FOODSLAVE, WTF?
      OMG "MATTHEW"
      OMG "SIMON"
          I IZ TAPPING YR FOODSLAVE MKAY
          GTFO
      OMGWTF
          VISIBLE "MEOW"
  OIC
KTHXBYE

shubham

HAI 1.2
I HAS A food ITZ "111.00033"
I HAS A food2 ITZ "111"
I HAS A fo_od ITZ "1"
VISIBLE food
VISIBLE food2
VISIBLE fo_od
KTHXBYE25
syntx
12789
syntax
shubham 123

kirloshkar

HAI 1.2
I HAS A food ITZ "111.00033"
I HAS A food2 ITZ "111"
I HAS A fo_od ITZ "1"
VISIBLE food
VISIBLE food2
VISIBLE fo_od
KTHXBYE25
syntx
12789

best language

HAI 3.6
    CAN HAS STDIO?
    I HAS A AGE ITZ 12                 BTW AGE = 12
    I HAS A OLD ITZ "old"
    I HAS A CAR ITZ OLD              BTW CAR = "not new :/"
    OLD R "NOT NEW"                     BTW NEW = YARN = string
    VISIBLE "MY car is " CAR ": " AGE " years " OLD "I iz :) newline! :o bell :o"
    OBTW
    multi lines string :D
    # ZININ 
    TLDR
KTHXBYE

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

Execute LOLCODE Online

HAI 1.2
    I HAS A INTRODUCSHUN1 ITZ "Abosede Olatunji, CS 355 Final Exam."
    I HAS A INTRODUCSHUN2 ITZ "WELCOM 2 TEH GUESIN GAME."
    I HAS A FINALSTATEMENT ITZ "NOWT DAT U R 2 CHOOSE NUMBR RANGIN FRUM 1 to 64"
    VISIBLE INTRODUCSHUN1
    VISIBLE INTRODUCSHUN2
    VISIBLE FINALSTATEMENT
    
    BTW IN DIS GAME, TEH COMPUTR GUESEZ TEH SEEKRET NUMBR
    
    I HAS A HIGH ITZ 64
    I HAS A LOW ITZ 1
    I HAS A GUES
    GUES R 32
    
    

    I HAS A ADDISHUN
    ADDISHUN R SUM OF HIGH AN LOW
    GUES R QUOSHUNT OF ADDISHUN AN 2
    VISIBLE "The computer guesses..."

    VISIBLE GUES

KTHXBYE


   

transfast

HAI 1.2
I HAS A STRINGARRAY ITZ A BUKKIT
   STRINGARRAY HAS A VAR17 ITZ "OBJECT1"
   STRINGARRAY HAS A VAR18 ITZ "OBJECT2"
   HOW IZ STRINGARRAY ACCESS YR VARIABLE
      FOUND YR STRINGARRAY'Z SRS VARIABLE
   IF U SAY SO
   I HAS A STRING ITZ "VAR17"
   VISIBLE STRINGARRAY IZ ACCESS YR STRING MKAY
KTHXBYE

Advertisements
Loading...

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