Leap Year (If with Logical Operators)
As IF can be used for Decision making, here is an example of if and else to find out Given Year is Leap Year or
From Basic to the Best
As IF can be used for Decision making, here is an example of if and else to find out Given Year is Leap Year or
As earlier we have mentioned ‘if’ is used for decision making in Programming. Here is an example of ‘if’. We have also used Logical Operator