Leap year process


I am trying to create the leap year process using the If activity but my result always gives the answer as its a leap year. I am not able to understand what is wrong with my If statement
((year mod 4 = 0) and (year mod 100 <>0) or (year mod 400 = 0)
The control always goes to the then section and prints it to be a leap year.

I got the issue and corrected it. Now getting the correct output. Closing this thread.

1 Like