Computer Science, asked by ahmadwajid290, 1 month ago

Q6.) Write a program to check whether a given year is a leap year or not

Answers

Answered by itztaesprincessliza
3

Answer:

If it is divisible by 4 then it is divided by 100 and then 400. If year is divisible by all 3 numbers then that year is a leap year. If the year is divisible by 4 and 100 but not by 400 then it is not a leap year. If the year is divisible by 4 but not by 100, then it is a leap year.

Explanation:

☺️☺️✌️✌️

Answered by akhilag285
1

this is the solution for your question

Hope it is helpful to you

Attachments:
Similar questions