Post Reply 
Friday the 13th on 17bii Solver
01-14-2017, 07:07 PM
Post: #4
RE: Friday the 13th on 17bii Solver
(01-13-2017 07:37 PM)Don Shepherd Wrote:  \(\Sigma\)(M:1:12:1:0xL(A:IDIV(14-M:12))xL(Y:YEAR-G(A))xL(MM:M+12xA-2)+IF(MOD(DOM+G(Y)+IDIV(G(Y):4)-IDIV(G(Y):100)+IDIV(G(Y):400)+IDIV(31xG(MM):12):7)=DAY:1:0))-ANS

Small suggested edit: For the second reference to variable 'A' in the expression

L(MM:M+12xA-2)

Change the direct reference of variable 'A' to G(A)

L(MM:M+12xG(A)-2)

so that the variable 'A' does not appear in the menu.

Very neat program! Someday I hope I'll master this programming language. Makes obfuscated C look like child's play Wink

Remember kids, "In a democracy, you get the government you deserve."
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Friday the 13th on 17bii Solver - mfleming - 01-14-2017 07:07 PM



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