#include <stdio.h> int main() { int a; printf("Enter A Year : "); scanf("%d",&a); if(a%4==0){ printf("\n %d Is A Leap Year",a); } else{ printf("\n %d Is Not A Leap Year",a); } return 0; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter