Post Reply 
Example Program to calculate Factorial
02-01-2018, 01:50 AM (This post was last modified: 02-01-2018 01:51 AM by Gamo.)
Post: #11
RE: Example Program to calculate Factorial
Dieter program for HP 25 version is very well done that even include ABS and INT. Very short and really simple easy to understand program so far.

I added the ABS steps to work for HP-12C and still the program steps is under 20 steps.

Code:

01  ENTER
02  x
03  SQR
04  INTG
05  1
06  X<>Y
07  X=0
08  GTO 14
09  x
10  LSTx
11  1
12  -
13  GTO 07
14  Roll Down
15  GTO 00

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


Messages In This Thread
RE: Example Program to calculate Factorial - Gamo - 02-01-2018 01:50 AM



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