Leap year :



main() 
{
    int no;
    clrscr(); 

    printf(“\n mention year”);
    scanf(“%d”,&no);

    if(no%4==0)
    {
      print(“\n this is a leap year”);
    }
    else
    {
      printf(“\n this is not a leap year”);
    }
getch();
}
           

Output: