도와주셈 ㅇㅇ

#include <stdio.h>

int main(void)
{
 int year, month, day;
 int sum;

 printf(\"연도를 입력하세요\");

 scanf(\"%d\", &year);

 printf(\"입력 : %d\\n\", year);
 printf(\"월   일수   누적일수 \\n\");
 
 
 switch(month){
 case 1:
 case 3:
 case 5:
 case 7:
 case 8:
 case 10:
 case 12:
  day = 31;
  break;
 case 4:
 case 6:
 case 9:
 case 11:
  day = 30;
  break;
 case 2:
  if( (year%4==0) && (year%100!=0) || (year%400==0))
   day = 29;
  else
   day = 28;
  break;
 }

 for(month=1; month<=12; month++){
   
   sum += day;
   //여기서 내 생각과 일치하지가 않네여
 // 전 날짜수를 지정해줬기때문에 알아서 계산할줄 알았거등여? 이거 어케해야대나여?
 
  printf(\"%d월  %d일  %d일\\n\", month, day, sum);
 }

 


 
 return 0;