在c++編譯器上都運行對著哩 ,為什么這里運行錯誤
#include <stdio.h>
int main()?
{
? ? int sale=120; //銷售業績為120萬
? ? int year=1; //剛剛進入公司1年
? ? //完善代碼
? ? if(sale>100)
? ? {
? ? ? ? if(year>=2)
? ? ? ? {
? ? ? ? ? ? printf("恭喜,獲得優秀員工獎");
? ? ? ? }
? ? ? ? else
? ? ? ? {
? ? ? ? ? ? printf("很遺憾,期望你再接再厲 ");
? ? ? ? }
? ? }? ?
? ? else
? ? {
? ? ? ? printf("很遺憾,期望你再接再厲 ");
? ? }
? ? return 0;
}
? ??
? ??
2018-11-25
網頁刷新了一遍 就好了 無語