为什么在dev中能运行成功,而在这不行
#include<stdio.h>
int main()
{
int sale ,year;
sale=120;
year=1;
if(sale>100&&year>=2)
{
printf("%s\n","恭喜");
}
else
{
printf("%s\n","遗憾");
}
return 0;
}
#include<stdio.h>
int main()
{
int sale ,year;
sale=120;
year=1;
if(sale>100&&year>=2)
{
printf("%s\n","恭喜");
}
else
{
printf("%s\n","遗憾");
}
return 0;
}
2019-09-21
举报