到底哪里出錯了?。。。。。。。。。。。。。。。。。。。。。。。。。?!
#include <stdio.h>
int main()?
{
? ? int sale=120; //銷售業(yè)績?yōu)?20萬
? ? int year=1; //剛剛進入公司1年
? ? if(sale>100)
? ? {
? ? ? ? if(year>=2)
? ? ? ? {
? ? ? ? ? ? printf("恭喜您獲得優(yōu)秀員工獎!");
? ? ? ? }
? ? ? ? else
? ? ? ? {
? ? ? ? ? ? printf("很遺憾,期望你再接再厲");
? ? ? ? }
? ? }
? ? else
? ? {
? ? ? ? printf("很遺憾,期望你再接再厲");
? ? }
? ? return 0;
}
把%s加上還是不行
2019-10-11
我覺得沒問題啊 你輸出的是啥樣子的?