想请教各位高手
#include <stdio.h>
main()
{int long number;
number=getchar();
putchar(number);
}
{int lay1,lay2,lay3,leap year;
{if (lay1=nunber%4==0);
{if (lay2=number%100==0);
{if (lay3=number%400==0)leap year=yes;
else leap year=no;}
else leap year=yes;}
else lear year=yes;}
}
以上是我写的
在编译的时候老是说{int lay1,lay2,lay3,leap year;说明语法出错,
请指教,谢谢