The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
48SX Fibonacci (with a few tricks)
04-25-2018, 01:58 PM (This post was last modified: 04-25-2018 02:21 PM by SamE.)
Post: #1
48SX Fibonacci (with a few tricks)
So, I'm new on the forums and own an 11C, a 28S, and a 48SX. I was wondering how to make a program of the Fibonacci sequence that left the numbers on the stack. The code that I use normally is:
-start with 2 1s on the stack-
<<
DO
DUP ROT +
CLLCD DUP 5 DISP 1 WAIT
UNTIL KEY END
>>
This displays the numbers but doesn't leave them on the stack.

Trying to hide their hp obsession from their friends.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
48SX Fibonacci (with a few tricks) - SamE - 04-25-2018 01:58 PM



User(s) browsing this thread: 1 Guest(s)