Saturday, October 24, 2020

c program to check whether the given year is not a leap year

 #include <stdio.h>

int main() {

    int y;

    printf("Enter year:");

    scanf("%d",&y);

    if(y%4!=0)

    {

        printf("%d is not a leap year",y);

    }

}

No comments:

Post a Comment

Understand Them First ❤️ | A Grandmother’s Journey, Emotions & the Power of Empathy ✨

  https://www.youtube.com/watch?v=EUm5_llWHBQ Hi, namaste Kamj. So, uh I just have been going through something in my life that I wanted to ...