#include <stdio.h>
int main()
{
int result = 98;
int ranking = 2;
if(result > 90)
{
if(ranking <= 3)
{
printf("%s\n","吃大餐,");
}
printf("%s\n","买玩具");
}
else
{
printf("%s\n","没有奖");
}
return 0;
}
#include <stdio.h>
int main()
{
int result = 98;
int ranking = 2;
if(result >90)
{
if(ranking <= 3)
{
printf("吃大餐\n");
}
printf("买玩具\n");
}
else
{
printf("没有奖\n");
}
return 0;
}