if(year>=2)
{
if(sale > 100)
{
printf("%s\n","恭喜你获得优秀员工奖!");
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
}
else
{
print("%s\n","很遗憾,期望你再接再厉");
}
/*if(year>=2)
{
if(sale > 100)
{
printf("%s\n","恭喜你获得优秀员工奖!");
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
}
else
{
printf("%s\n","很遗憾,期望你再接再厉");
}
*/
第一个最后一行代码,printf少了个f
是哈 好的,谢谢