Logic For Leap Year In C