這個問題出在哪里啊跟參考的一樣了
#include <stdio.h>
int main()?
{
? ? int year = 2014; //今年是2014年
? ? //補全一下代碼
? ? if((year%4 == 0 && year%100 != 0) || year%400 == 0)
? ? {
? ? ? ? printf("%c\n","今年是閏年");
? ? }
? ? else
? ? {
? ? ? ? printf("%c\n","今年是平年");
? ? }
? ??
? ??
? ??
? ??
? ? return 0;
}
2018-06-16
你看一下中英文符號有沒換錯哇
2018-05-29
剛剛把c換成s了還是錯誤