MAQ Software interview question

Leap year program