Thread: if statement problem.....

  1. #16
    Join Date
    Aug 2010
    Ontario Canada
    Quote Originally Posted by Sipher View Post
    ( seems noone reads my posts ),
    Not to worry Sipher, my friend... I read them.

    The thing is we still get leap years every 4 years...
    The exception is only on the century (i.e. even multiple of 100) where we only get one on every 4th century so in my solution I simply divided by 100 when we hit the even century and went from there.

  2. #17
    Programming Wraith GReaper's Avatar
    Join Date
    Apr 2009
    Oh, I see. So, our codes are like one and the same by that perspect...
    Devoted my life to programming...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ; problem near if statement
    By orhanli1 in forum C Programming
    Replies: 3
    Last Post: 01-17-2011, 07:42 AM
  2. problem with if statement
    By eagle0eyes in forum C Programming
    Replies: 13
    Last Post: 05-27-2010, 01:12 PM
  3. If Else statement problem
    By doofusboy in forum C Programming
    Replies: 2
    Last Post: 11-09-2005, 07:18 AM
  4. If statement re-do problem
    By RoD in forum Windows Programming
    Replies: 5
    Last Post: 09-11-2002, 04:46 PM
  5. having a problem with a FOR statement
    By jonesy in forum C Programming
    Replies: 3
    Last Post: 10-01-2001, 01:24 PM