c program of Given year it is leap or not using if else


in c   if.. else control used for making a decision and chose branch means that if a condition is true control enter in if body otherwise else body(block/scope).

syntax 

if(condition)

single statement;

else

single statement;


write a c program Given year is leap or not using if else control

OUTPUT 

Enter Year in (yyyy) mode : 2012

Leap Year

(Visited 54 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image