-->
当前位置:首页 > 题库

PROGRAMMING:Judge leap year

Luz5年前 (2021-05-10)题库416
Input a year to judge whether it is a leap year. If it is a leap year, output "yes" information, otherwise output "no" information.
The standard of judging leap year: the year that can be divided by 4 but not 100, or the year that can be divided by 400 is leap year.
###Input format:
Enter a 4-digit year directly without any additional characters.
###Output format:
Output "yes" or "no" directly without any additional characters.
###Input example:
```in
one thousand and nine hundred
```
###Output example:
```out
no
```
###Input example:
```
two thousand
```
###Output example:
```
yes
```
###Input example:
```
one thousand nine hundred and four
```
###Output example:
```
yes
```






answer:If there is no answer, please comment