Advertisement
Kawsar_Hossain

problem_1

May 25th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int y;
  5.     scanf("%d", &y);
  6.     if(y%4==0)
  7.         printf("This is a leap-year\n");
  8.     else
  9.         printf("This is not a leap-year\n");
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement