Example Program to calculate Factorial
|
02-02-2018, 12:59 AM
(This post was last modified: 02-04-2018 03:43 AM by Gerson W. Barbosa.)
Post: #13
|
|||
|
|||
RE: Example Program to calculate Factorial
(01-31-2018 08:23 PM)Dieter Wrote: How about this? How about that? Code:
Same number of steps, but you can always can make it shorter :-) (not by simply removing line #14, of course). Gerson. PS: Well, you’ve had your chance. In order to make it three steps shorter just remove the redundant steps 03 through 05. Also, instead of using the specific instruction x<>I it’s better to use the more general instructions R/\ and RCL I after GTO 01. But what is the point implementing the factorial function on a calculator that has it already built-in? HP-33C/E Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)