填空题

下列程序实现计算s=1+4+9+16+…+100.请在填空处补充内容,完善程序。
#include〈stdio.h〉
main()
{int i,s=0;
for(i=1;i〈=10;i++)
输入答案()
printf(“%d”,s);
}

【参考答案】

s+=i*i