S
Sandra
Well, it seems your work is cut out for you, unless the context of the
problem formulation is such that it really means something more than stated.
All your program has to do is to ask you whether your birthday is February
29th, and then apply the formula inconsiderately given you by Robert
E. Tisdale and at least one more poster. The program could output one
result based on the current year or on assuming a non leap-year, or it could
output two result, one for non-leap and one for leap-year. In the latter case
the formula should be suitably modified for leap year. Of course it could
also output four results, one for each combination of February 29th or not and
leap year or not. That way you could avoid the input part.
Also, it might be possible to avoid the leap year thing by analyzing whether
it can affect the result or not.
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Thanks Alf - I am working on an encyrption\decryption program right
now so I think I am going to let this one go. I really am stuck
He is going to give us the answer on Wed - Do you want to see what he
comes up with ?
Sandra