if(sale>100) { if(year>=2) { printf("%s\n","获奖"); } else { printf("%s\n","很遗憾,期望你再接再厉"); } else { printf("%s\n","很遗憾,期望你再接再厉"); } 这样怎么不对啊?求助
if(sale>100)
{
if(year>=2)
{
printf("%s\n","获奖");
else
printf("%s\n","很遗憾,期望你再接再厉");
}
else
printf("%s\n","很遗憾,期望你再接再厉");
}