Post Reply 
Sinclair Cambridge Programmable Program Library (more fun with the scanner)
12-07-2019, 10:50 AM
Post: #10
RE: Sinclair Cambridge Programmable Program Library (more fun with the scanner)
Here is the program example from the Mathematics Program Library

Page 23.1 “Factorial”

This program adapted to work on HP-12C Platinum on ALG mode

This algorithm will run slow with large n!

N < 70

Program for HP-12C Platinum on ALG mode
Code:

STO 0
STO 1
RCL 0
-
2
=
0
X<>Y
X≤Y
GTO 020
+
1
=
STO 0
X
RCL 1
=
STO 1
GTO 003
RCL 1
GTO 000

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Sinclair Cambridge Programmable Program Library (more fun with the scanner) - Gamo - 12-07-2019 10:50 AM



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