Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ********************************************************
- * *
- * fibonacci.lol Version 1 2013-03-01 *
- * *
- * Calculates the first 39 fibonacci numbers *
- * *
- ********************************************************
- LULZ fib
- BTW - - - - - - - - - -
- I HAS A A%
- I HAS A PREV%
- I HAS A PPREV%
- I HAS A T%
- BTW - - - - - - - - - -
- LOL T R 0
- LOL A R 0
- LOL PREV R 1
- LOL PPREV R 0
- VISIBLE! "0) 1"
- IM IN YR LOOP
- LOL A R PREV UP PPREV
- UP T
- VISIBLE T
- VISIBLE ") "
- VISIBLE! A
- IZ T BIGGER THAN 38?
- YARLY
- ENUF
- KTHX
- LOL PPREV R PREV
- LOL PREV R A
- IM OUTTA YR LOOP
- BTW - - - - - - - - - -
- BBHF
- ***************************************************************
- HAI
- CAN HAS STDIO?
- VISIBLE! "*********************************"
- VISIBLE! "* Calculating fibonacci numbers *"
- VISIBLE! "*********************************"
- @fib
- VISIBLE! "***********"
- VISIBLE! "* Teh End *"
- VISIBLE! "***********"
- KTHXBB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement