Advertisement
Malinovsky239

Untitled

Oct 9th, 2011
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <cstdio>
  2.  
  3. int main() {
  4.     int a;
  5.     scanf("%d", &a);
  6.     if ((a % 4 == 0) || (a % 400 == 0))
  7.         printf("Yes");
  8.     else
  9.         printf("No");
  10.     return 0;    
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement