最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

閏年這一節(jié)是不是有問(wèn)題?

#include?<stdio.h>
int?main()?
{
????int?year?=?2014;?//今年是2014年
????//補(bǔ)全一下代碼
????if(=)
????{
????????printf("%s\n",今年是閏年);
????}
????else
????{
????????printf("%s\n",今年是平年);
????}
????return?0;
}

試了很多次,怎么提交都是正確的提交之后就是類(lèi)似與這樣

<pre>hello.c: In function 'main': hello.c:6:8: error: expected expression before '=' token if(=) ^ hello.c:8:9: error: stray '\344' in program printf("%s\n",今年是閏年); ^ hello.c:8:9: error: stray '\273' in program hello.c:8:9: error: stray '\212' in program hello.c:8:9: error: stray '\345' in program hello.c:8:9: error: stray '\271' in program hello.c:8:9: error: stray '\264' in program hello.c:8:9: error: stray '\346' in program hello.c:8:9: error: stray '\230' in program hello.c:8:9: error: stray '\257' in program hello.c:8:9: error: stray '\351' in program hello.c:8:9: error: stray '\227' in program hello.c:8:9: error: stray '\260' in program hello.c:8:9: error: stray '\345' in program hello.c:8:9: error: stray '\271' in program hello.c:8:9: error: stray '\264' in program hello.c:12:9: error: stray '\344' in program printf("%s\n",今年是平年); ^ hello.c:12:9: error: stray '\273' in program hello.c:12:9: error: stray '\212' in program hello.c:12:9: error: stray '\345' in program

?一部分

怎么回事?

正在回答

2 回答

6行應(yīng)該是 if(year%4==0)

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

邊防連 提問(wèn)者

上述原文提交,還是正確
2017-09-03 回復(fù) 有任何疑惑可以回復(fù)我~

第6行應(yīng)該是 if(year%4==0)

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

邊防連 提問(wèn)者

明白,我故意刪掉的,提交之后還是顯示正確,
2017-09-03 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
C語(yǔ)言入門(mén)
  • 參與學(xué)習(xí)       927448    人
  • 解答問(wèn)題       21539    個(gè)

C語(yǔ)言入門(mén)視頻教程,帶你進(jìn)入編程世界的必修課-C語(yǔ)言

進(jìn)入課程

閏年這一節(jié)是不是有問(wèn)題?

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢(xún)優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)