如果將2014改成任意輸入應該怎么打 我寫的運行不出來啊
#include <stdio.h>
int main()?
{
? ? int year ;?
? ? scanf("%d",year);
? ? if(year%4==0&&year%100!=0||year%400==0)
? ? {
? ? ? ? printf("%s\n","今年是閏年");
? ? }
? ? else
? ? {
? ? ? ? printf("%s\n","今年是平年");
? ? }
? ? return 0;
}
2020-11-16
http://shennizuidongqiu.com
http://feidaotuiqiu.me
http://dazhuokaiche.com
http://fds501.cc
http://fdq602.cc
http://fdw703.cc
http://fdw805.cc
http://fdw907.cc
http://zsn132.cc
http://zsn143.cc
http://zsn243.cc
http://zsn343.cc
http://zsn443.cc
http://zsn543.cc
http://zsn643.cc
http://msk121.cc
http://msk127.cc
http://msk129.cc
http://msk130.cc
http://zdzkc108.cc
http://zdzkc219.cc
http://zdzkc229.cc
http://zdzkc239.cc
http://zdzkc241.cc
http://dddsaa331.cc
http://dddsaa332.cc
http://dddsaa333.cc
http://dddsaa336.cc
http://dddsaa328.cc
2020-11-16
判斷條件應該是:(? year%400==0? ? &&? ? year%==0 || year%100!=0? )