5 question please tell me
Attachments:
Answers
Answered by
1
The program output is below.
1.* C program to find whether a given year is leap year or not.
2.{
3.int year;
4.printf("Enter a year \n");
5.scanf("%d", &year);
6.if ((year % 400) == 0)
7.printf("%d is a leap year \n", year);
8.else if ((year % 100) == 0)
Similar questions