Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdio>
- int main() {
- int a;
- scanf("%d", &a);
- if ((a % 4 == 0) || (a % 400 == 0))
- printf("Yes");
- else
- printf("No");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement