我这有什么问题,为啥运行是空白,也没说运行错误
#include <stdio.h>
int main()
{
int people,year;
for(year=2014; ;year++)
{
if(people<1000)
{
people=people*1.2;
}
else
{
printf("%d",year);
}
}
return 0;
}
#include <stdio.h>
int main()
{
int people,year;
for(year=2014; ;year++)
{
if(people<1000)
{
people=people*1.2;
}
else
{
printf("%d",year);
}
}
return 0;
}
2019-11-01
举报