不知道自己錯(cuò)在哪了,請(qǐng)求大神指導(dǎo),謝啦
#include
int main() { ? ?int sale=120; //銷售業(yè)績(jī)?yōu)?20萬 ? ?int year=1; //剛剛進(jìn)入公司1年 ? ?//完善代碼 if(sale>100) ? ? ?{ ? ? ? ?if(year>=2) ? ?{ ? ? ? printf("%s\n","優(yōu)秀員工獎(jiǎng)"); ? ? ?} ? ?else ? ?{ ? ? ? ?printf("%s\n","很遺憾,希望你再接再厲"); ? ?} ? ?return 0; }請(qǐng)問大神我這錯(cuò)在哪里了?
2017-09-04
大刮號(hào)和main配對(duì)的有嗎?請(qǐng)檢查你的大刮號(hào)配對(duì),用ctrl+{或者ctrl+}來檢查