2023 RPN HHC Programming Contest
|
10-26-2023, 11:41 PM
(This post was last modified: 10-27-2023 06:14 PM by Gerson W. Barbosa.)
Post: #69
|
|||
|
|||
RE: 2023 RPN HHC Programming Contest
(10-26-2023 09:11 PM)Gerson W. Barbosa Wrote:(10-26-2023 08:47 PM)Paul Dale Wrote: Gerson's challenge to get 7141 can be done in 7 steps: HP-41C: Code:
HP-42S: Code:
For some reason on Free42 (3.0.21) it stops at step 11 with an error message (Invalid Data). P.S.: On Free42 the result at step 10 is 3680.999999999999999999999999999995 instead of 3681. →OCT requires an integer argument. That’s an example of a program that works on the HP-42S but not on Free42 because the internal results are not rounded to the number of digits of the display like on the latter. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 5 Guest(s)