很遺憾,期望你再接再厲
哪位高手求指點(diǎn)一下,我這里哪里錯了?想不明白啦。 #include
int main() { ? ?int sale=120; //銷售業(yè)績?yōu)?20萬 ? ?int year=1; //剛剛進(jìn)入公司1年 ? ?//完善代碼 ? ?if(year>=2&&sale>100) ? ?{ ? ? ? ?printf("%s\n","有資格獲得優(yōu)秀員工獎"); ? ?} ? ?else ? ?{ ? ? ? ?printf("%s\n","很遺憾,期望你再接再厲"); ? ?} ? ? ? ?return 0; }
2015-07-28
#include<stdio.h>