Post Reply 
(49G) Friday 13th calculation
06-21-2014, 02:09 PM (This post was last modified: 06-15-2017 01:46 PM by Gene.)
Post: #1
(49G) Friday 13th calculation
The programme returns the dates of Friday 13th for a valid year entry using dd.mmyyyy format.

The programme works for versions 1.19-6 & 2.10-8.

Eg For 1,953 the programme returns 13.021953, 13.031953 & 13.111953.

::
CK1&Dispatch
BINT1
::
% 1000000.
%/
%13
%+
BINT12
ZERO_DO
% .01
%+
DUP
% 13.063
DDAYS
%7
%MOD
%0=
IT
DUP
LOOP
DROP
;
;

Improvements welcome.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(49G) Friday 13th calculation - Gerald H - 06-21-2014 02:09 PM
RE: HP 49G Friday 13th calculation - HP67 - 06-22-2014, 06:23 AM



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