这题也可以用&&语句
# include <stdio.h>
int main (void)
{
int sale = 120;
int year = 1;
if (sale >= 100 && year >= 2 )
printf("有资格获得优秀员工奖");
else
printf("很遗憾,期望你再接再厉");
return 0;
}
# include <stdio.h>
int main (void)
{
int sale = 120;
int year = 1;
if (sale >= 100 && year >= 2 )
printf("有资格获得优秀员工奖");
else
printf("很遗憾,期望你再接再厉");
return 0;
}
2018-08-14
举报