home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 77 
 Richard Webb to mark lewis 
 another convoluted brainteaser for the g 
 08 Feb 12 22:12:47 
 
Hi Mark,

On Wed 2012-Feb-08 14:53, mark lewis (1:3634/12) wrote to Richard Webb:

 RW> YEp, knew about the divisible by four part, just hadn't
 RW> played with that in the code that runs Feb 1 yet.  Would
 RW> like to see that other formula when you find it.  I'm sure
 RW> we could plug it in.  TImo's batch calculator does some
 RW> interesting things.

ml> i just posted pascal code for it... the modulo arithmetic (aka clock
ml> math) routine is needed for ease of coding... the full explanation
ml> of how to determine a leapyear is contained in the comments at the
ml> start of the code i posted... 

YEp, now if I had the compiler I'd compile it.  We'll ahve
to bounce this around some more .

Btw my error when I commented divisible by 400 isntead of
100, pre coffee .

Regards,
           Richard
---
 * Origin:  (1:116/901)

<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca