我這有什么問(wèn)題,為啥運(yùn)行是空白,也沒(méi)說(shuō)運(yùn)行錯(cuò)誤
#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
people忘賦值了