On Thu, Mar 5, 2009 at 5:08 AM, real <[email protected]> wrote:
[..]
>   /* PROGRAMME FOR FINDING DAY OF 1ST JANUARY OF THE YEAR*/

You could do worse than to try using one of the algorithms out there
already for doing this sort of thing (I'm assuming it's the algorithm
that isn't working, not any other problem with your program since you
didn't state there was any.)

http://en.wikipedia.org/wiki/Calculating_the_day_of_the_week#An_algorithm_to_calculate_the_day_of_the_week

-- 
PJH

http://shabbleland.myminicity.com/ind
http://www.chavgangs.com/register.php?referer=9375

Reply via email to