Computer Science, asked by danish2003, 1 year ago

5 question please tell me

Attachments:

Answers

Answered by rumanaperween1977
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