Post Reply 
2024 HHC Programming Contest - RPN #1
09-24-2024, 06:08 AM
Post: #36
RE: 2024 HHC Programming Contest - RPN #1
(09-24-2024 01:42 AM)Paul Dale Wrote:  
Code:

001 LBL A
002 777
003 LN
004 ENTER
005 +
006 ENTER
007 +
008 INT
009 END

Should the INT not be before the first ENTER, straight after LN?

ln(777) ≈ 6.655..... so your program gives 26 instead of 24.

int(ln(777)) = 6

Current daily drivers: HP-41CL, HP-15C, HP-16C
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: 2024 HHC Programming Contest - RPN #1 - RPNerd - 09-24-2024 06:08 AM



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