#include <stdio.h>
int main()
{
int sale=120; //销售业绩为120万
int year=1; //刚刚进入公司1年
//完善代码
if ( sale > 100 )
{
if ( year >= 2 )
{
printf ( " %s\n "," 优秀员工奖 ");
}
else
{
printf ( " %s\n "," 很遗憾,期望你再接再厉 ");
}
}
else
{
printf ( " %s\n "," 这么垃圾还想得优秀员工奖??没门!");
}
return 0;
}
有些地方不用空格你空格了,不用在意没大问题下一节吧。