與輸出不匹配,不知道哪里錯了
#include <stdio.h>
int main()
{
??? int sale=120; //銷售業績為120萬
??? int year=1; //剛剛進入公司1年
??? //完善代碼
??? if (sale >100)
??? {
??????? if(year>=2)
??????? {
??????????? printf("%s\n","獲得最佳員工獎");
??????? }
??????? printf("%s\n","獲得最佳員工獎");
??? }??
??? else
??? {
??????? printf("%s\n","很遺憾,期望你再接再厲");
??? }
???
?? 他說與輸出不匹配,不知道哪里錯了
2019-10-02
同時滿足兩個條件才有獎,你這個只要滿足sale?達標,都有獎