拿錯啦很懵
#include
int main() { ? ?int sale=120; //銷售業(yè)績?yōu)?20萬 ? ?int year=1; //剛剛進入公司1年 ? ?//完善代碼 ? ?if( sale > 100 && year > 2) ? ? ? printf("恭喜你碉堡啦"); ? ? ? else peintf("很遺憾,期望你再接再厲"); ? ? ? ? ? ?return 0; } 哪錯啦?????#include
int main() { ? ?int sale=120; //銷售業(yè)績?yōu)?20萬 ? ?int year=1; //剛剛進入公司1年 ? ?//完善代碼 ? ?if( sale > 100 && year > 2) ? ? ? printf("恭喜你碉堡啦"); ? ? ? else peintf("很遺憾,期望你再接再厲"); ? ? ? ? ? ?return 0; } 哪錯啦?????2018-04-07
舉報
2018-04-07
else后的printf打錯了~