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

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


   

Advertisements
Loading...

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