为什么要打印两遍 结果 很遗憾....
if(sale>100)
{
if(year>=2)
{
printf("%s\n","恭喜你获得优秀员工奖");
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
return 0;
}
if(sale>100)
{
if(year>=2)
{
printf("%s\n","恭喜你获得优秀员工奖");
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
return 0;
}
2020-02-18
举报