ulvis.paste.net

Paste Search Dynamic
Recent pastes
"西暦を入力
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.         int year;
  5.         printf("西暦を入力");
  6.         scanf("%d",&year);
  7.  
  8.         if(year%4==0)printf("夏季\n");
  9.         if(year%4==2)printf("冬季\n");
  10.         if(!year%2==0)printf("無し\n");
  11.         return 0;
  12. }
  13.  
Parsed in 0.002 seconds