Q6.) Write a program to check whether a given year is a leap year or not
Answers
Answered by
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
1
this is the solution for your question
Hope it is helpful to you
Attachments:
![](https://hi-static.z-dn.net/files/dd9/8badfd40fb71396049865bfad1d717de.jpg)
Similar questions