求大神幫忙找錯
求大神幫忙找錯
#include <stdio.h>
int main()?
{
? ? int sale=120; //銷售業(yè)績?yōu)?20萬
? ? int year=1; //剛剛進入公司1年
? ? if(sale>100)
? ? {
? ? ? ? ? ?if(year>=2)?
? ? ? ? ? ?{
? ? ? ? ? ? ? ?
? ? ? ? ? ?printf("%s\n","恭喜你,你被評為優(yōu)秀員工");
? ? ? ? ? ?}
? ? ? ? ? ?else
? ? ? ? ? ?{
? ? ? ? ? ? ? ? printf("%s\n","很遺憾,希望你再接再厲");
? ? ? ? ? ?}
? ? ? ? ? ?
? ? }
? ? else
? ? {
? ? ? ? ? ? printf("%s\n","很遺憾,希望你再接再厲");
? ? }
? ? return 0;
}
? ??
? ??
2015-03-29
逗號也要中文哦
2015-02-23
我編譯運行了,沒有錯誤??!