Post Reply 
Why does this Friday 13th program fail?
10-16-2017, 06:40 PM (This post was last modified: 10-16-2017 07:09 PM by ggauny@live.fr.)
Post: #4
RE: Why does this Friday 13th program fail?
Hi,

From "One-Minute Marvel", from a program of Joe K Horn and one other, I have ported this for HP Prime :

Code:

EXPORT V13(Année)
BEGIN
PRINT();
A:=Année+.0113;
FOR I FROM −5 TO 6 DO
IF (DDAYS(3000.0404,A) MOD 7)==0
THEN PRINT(A)
END;
A:=A+.01;
END;
END;

Have a good night (or day !).

Gérard.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Why does this Friday 13th program fail? - ggauny@live.fr - 10-16-2017 06:40 PM



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