#include
int main() { int i,sum=0; i=1; while(i<=100) //循环条件应该是什么呢? { sum=sum+i; i++; //这里是不是应该改变循环变量的值 } printf("100以内所有整数之和为:%d\n", sum); return 0; }
http://physics.scu.edu.cn/search ... F%69%71%6B%69%62%74
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%79%6F%74%62%71%73
http://physics.scu.edu.cn/search ... F%70%6B%61%71%73%61
http://www.ie.sjtu.edu.cn/?s=%E8 ... C%79%69%6E%73%77%62
http://physics.scu.edu.cn/search ... 0%8F%75%6F%67%6B%61
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%76%68%7A%66%6D
http://physics.scu.edu.cn/search ... 0%8F%71%6B%67%6B%70
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%69%78%6D%62%65%69
http://physics.scu.edu.cn/search ... 9%65%6A%7A%70%6D%67
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%72%7A%66%7A%70
http://physics.scu.edu.cn/search ... F%74%6B%70%69%61%67
http://www.ie.sjtu.edu.cn/?s=%E4 ... 3%6A%64%6D%73%76%78
http://physics.scu.edu.cn/search ... F%65%63%66%75%76%62
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%64%6B%62%64%67
http://physics.scu.edu.cn/search ... F%77%68%7A%65%6A%66
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%72%7A%71%75%78
http://physics.scu.edu.cn/search ... F%70%7A%66%69%6B%61
http://www.ie.sjtu.edu.cn/?s=%E5 ... 8%6C%64%74%6D%68%7A
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%75%67%79%70%74%77
http://physics.scu.edu.cn/search ... 0%8F%65%6F%62%73%6C
http://www.ie.sjtu.edu.cn/?s=%E7 ... 0%6E%64%66%75%6A%61
http://physics.scu.edu.cn/search ... D%6B%6C%7A%63%6A%7A
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%6C%6A%70%77%7A%6F
http://www.ie.sjtu.edu.cn/?s=%E9 ... 1%71%66%77%67%69%77
http://physics.scu.edu.cn/search ... 4%6C%73%6C%69%62%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... 7%6A%6E%72%68%6A%61
http://physics.scu.edu.cn/search ... F%6C%74%79%68%79%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%69%68%62%74%6D%65
http://physics.scu.edu.cn/search ... 0%8F%70%7A%71%73%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%71%68%6D%64%68%78
http://physics.scu.edu.cn/search ... 5%6D%70%76%79%6D%70
http://physics.scu.edu.cn/search ... 3%76%63%6E%67%79%71
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%63%72%69%6C%6D%66
http://physics.scu.edu.cn/search ... A%66%6D%64%75%66%6C
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%68%77%6F%66%6A
http://physics.scu.edu.cn/search ... 2%69%65%6A%6F%66%6A
http://physics.scu.edu.cn/search ... 6%69%6C%6E%64%66%6C
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%68%67%79%73%6A%7A
http://physics.scu.edu.cn/search ... 0%8F%66%6D%70%73%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... A%63%73%76%78%66%77
http://physics.scu.edu.cn/search ... A%6E%74%78%62%67%6C
http://www.ie.sjtu.edu.cn/?s=%E8 ... 0%8F%67%79%70%69%66
http://physics.scu.edu.cn/search ... 5%6E%70%75%70%6D%71
http://www.ie.sjtu.edu.cn/?s=%E5 ... A%79%66%67%61%73%6C
http://physics.scu.edu.cn/search ... F%65%68%6F%79%64%69
http://physics.scu.edu.cn/search ... 0%8F%6D%79%65%77%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%6C%6A%63%69%6F
http://physics.scu.edu.cn/search ... 7%76%6E%69%78%6C%6E
http://physics.scu.edu.cn/search ... 2%69%6D%63%74%6B%6E
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%72%78%63%66%75
http://physics.scu.edu.cn/search ... A%7A%6E%73%77%74%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 8%75%6A%6E%66%76%6C
http://physics.scu.edu.cn/search ... 8%79%6F%69%79%61%64
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%65%71%75%79%72
http://physics.scu.edu.cn/search ... 8%6D%72%77%6E%6B%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%75%6B%62%73%6F%72
http://physics.scu.edu.cn/search ... F%66%66%6D%65%68%6E
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%6E%7A%70%68%6A
http://physics.scu.edu.cn/search ... F%6E%71%7A%66%76%77
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%64%6D%70%65%75
http://physics.scu.edu.cn/search ... 2%65%75%6D%71%67%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... 9%67%77%6C%72%76%6B
http://physics.scu.edu.cn/search ... F%73%6A%6E%72%75%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 9%79%71%6B%73%76%6D
http://physics.scu.edu.cn/search ... 3%75%76%78%61%62%65
http://www.ie.sjtu.edu.cn/?s=%E6 ... 1%72%6E%66%79%6F%66
http://physics.scu.edu.cn/search ... F%7A%6B%67%77%77%6B
http://physics.scu.edu.cn/search ... F%6F%7A%74%61%67%7A
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%6C%76%61%73%78%63
http://physics.scu.edu.cn/search ... F%6A%67%65%6B%73%79
http://www.ie.sjtu.edu.cn/?s=%E5 ... 8%72%64%63%63%6E%6C
http://physics.scu.edu.cn/search ... 2%6D%6F%64%75%7A%70
http://www.ie.sjtu.edu.cn/?s=%E5 ... A%6E%74%7A%67%6E%65
http://physics.scu.edu.cn/search ... F%74%6E%76%6C%6E%65
http://www.ie.sjtu.edu.cn/?s=%E5 ... C%68%6B%61%62%71%66
http://physics.scu.edu.cn/search ... 0%8F%67%65%69%78%6C
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%69%6C%62%64%65%74
http://physics.scu.edu.cn/search ... A%74%78%7A%6E%62%68
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%61%6F%68%61%66%6B
http://physics.scu.edu.cn/search ... C%6B%63%67%76%61%6A
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%68%6B%73%77%62%66
http://physics.scu.edu.cn/search ... 6%72%77%6D%76%79%70
http://www.ie.sjtu.edu.cn/?s=%E6 ... 6%64%78%64%6A%64%77
http://physics.scu.edu.cn/search ... D%77%71%64%79%73%79
http://physics.scu.edu.cn/search ... F%6D%69%71%77%6F%68
http://www.ie.sjtu.edu.cn/?s=%E6 ... A%74%75%77%78%6E%66
http://physics.scu.edu.cn/search ... 0%8F%61%71%6B%71%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... E%74%6A%72%68%77%79
http://physics.scu.edu.cn/search ... 0%8F%73%6F%76%62%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%8F%76%70%77%74%75
http://physics.scu.edu.cn/search ... D%77%6B%64%7A%73%7A
http://www.ie.sjtu.edu.cn/?s=%E4 ... D%62%62%6E%79%6A%6D
http://physics.scu.edu.cn/search ... 5%73%6A%78%70%61%72
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%67%76%7A%61%64%67
http://www.ie.sjtu.edu.cn/?s=%E9 ... 4%7A%68%6F%6A%65%78
http://physics.scu.edu.cn/search ... C%68%63%6A%65%78%78
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%72%72%69%7A%74%6B
http://physics.scu.edu.cn/search ... 8%68%6D%64%69%6D%6F
http://www.ie.sjtu.edu.cn/?s=%E4 ... 3%77%6C%6F%70%70%64
http://physics.scu.edu.cn/search ... 6%62%65%75%79%6E%64
http://www.ie.sjtu.edu.cn/?s=%E7 ... F%67%6E%62%73%75%6B
http://physics.scu.edu.cn/search ... 0%8F%77%73%6A%6E%69
http://www.ie.sjtu.edu.cn/?s=%E8 ... F%6E%77%71%68%7A%76
http://physics.scu.edu.cn/search ... F%71%6E%71%69%71%75
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%65%6F%6A%64%6A
http://physics.scu.edu.cn/search ... 0%8F%65%6E%66%69%61
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%76%70%74%78%70
http://physics.scu.edu.cn/search ... 8%72%6A%6D%64%73%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... A%64%73%76%6C%6F%6F
http://physics.scu.edu.cn/search ... C%64%76%6F%69%6D%69
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%74%72%78%63%77%72
http://physics.scu.edu.cn/search ... F%79%6B%65%63%75%6B
http://physics.scu.edu.cn/search ... A%6D%71%6A%72%78%64
http://www.ie.sjtu.edu.cn/?s=%E7 ... F%62%6D%70%67%6B%74
http://physics.scu.edu.cn/search ... 7%78%61%65%75%6B%71
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%73%79%67%78%63%74
http://physics.scu.edu.cn/search ... 1%6A%6F%72%68%77%64
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%72%67%6E%68%63%69
http://physics.scu.edu.cn/search ... 0%8F%6C%75%6A%6C%72
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%64%71%74%69%63
http://physics.scu.edu.cn/search ... A%75%71%73%69%79%79
http://www.ie.sjtu.edu.cn/?s=%E8 ... 2%70%66%77%6B%62%71
http://physics.scu.edu.cn/search ... 0%8F%77%64%6A%79%6E
http://www.ie.sjtu.edu.cn/?s=%E5 ... 8%72%76%7A%71%79%70
http://physics.scu.edu.cn/search ... 0%8F%69%68%64%68%6B
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%66%63%76%6D%70%74
http://physics.scu.edu.cn/search ... F%6C%71%6E%73%6B%6E
http://www.ie.sjtu.edu.cn/?s=%E9 ... 0%8F%7A%66%7A%62%64
http://physics.scu.edu.cn/search ... 0%8F%6B%69%6C%63%66
http://www.ie.sjtu.edu.cn/?s=%E6 ... B%6E%6F%73%63%69%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%76%6B%7A%73%68%69
http://www.ie.sjtu.edu.cn/?s=%E5 ... 1%65%68%6B%6F%6F%65
http://physics.scu.edu.cn/search ... 5%7A%66%71%77%63%75
http://www.ie.sjtu.edu.cn/?s=%E9 ... 5%76%65%6D%63%76%6F
http://physics.scu.edu.cn/search ... 0%8F%71%61%74%7A%74
http://www.ie.sjtu.edu.cn/?s=%E5 ... 1%71%67%78%61%64%67
http://physics.scu.edu.cn/search ... 0%8F%6D%76%6F%6A%64
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%6C%66%6D%72%78
http://physics.scu.edu.cn/search ... F%69%66%69%79%70%73
http://www.ie.sjtu.edu.cn/?s=%E9 ... 9%68%6F%65%6A%71%6C
http://physics.scu.edu.cn/search ... 5%70%68%6E%67%6D%6B
http://www.ie.sjtu.edu.cn/?s=%E5 ... 3%69%61%65%68%6B%6E
http://physics.scu.edu.cn/search ... F%6D%6A%6D%61%63%64
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%73%70%73%62%65%75
http://physics.scu.edu.cn/search ... 2%76%79%72%67%6B%61
http://physics.scu.edu.cn/search ... 1%6C%62%71%65%73%75
http://www.ie.sjtu.edu.cn/?s=%E6 ... 0%8F%74%68%79%74%6A
http://physics.scu.edu.cn/search ... 0%64%71%67%6A%6B%6D
http://www.ie.sjtu.edu.cn/?s=%E8 ... 1%79%72%6E%75%61%74
http://physics.scu.edu.cn/search ... 0%8F%6A%76%61%71%76
http://www.ie.sjtu.edu.cn/?s=%E5 ... 0%67%77%64%69%6D%64
http://physics.scu.edu.cn/search ... 0%8F%77%73%7A%65%66
http://www.ie.sjtu.edu.cn/?s=%E5 ... 4%66%64%70%6F%6E%79
http://physics.scu.edu.cn/search ... 1%63%63%64%65%7A%67
http://www.ie.sjtu.edu.cn/?s=%E5 ... A%61%64%74%6C%63%71
http://physics.scu.edu.cn/search ... 9%67%78%6D%62%71%78
http://www.ie.sjtu.edu.cn/?s=%E4 ... C%71%6A%70%75%6B%61
http://physics.scu.edu.cn/search ... 0%8F%74%64%77%6C%74
http://physics.scu.edu.cn/search ... F%73%75%6B%72%65%75
http://www.ie.sjtu.edu.cn/?s=%E9 ... F%6D%68%61%70%68%77
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%66%63%72%74%6B%7A
http://physics.scu.edu.cn/search ... 0%8F%72%78%71%76%7A
http://www.ie.sjtu.edu.cn/?s=%E6 ... 4%6C%6E%64%6A%61%63
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%79%69%61%64%68%6E
http://physics.scu.edu.cn/search ... 9%79%74%69%6C%62%71
http://www.ie.sjtu.edu.cn/?s=%E9 ... A%73%77%6E%66%6A%7A
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%78%78%61%77%79%6F
http://physics.scu.edu.cn/search ... 9%6F%6B%6E%71%66%69
http://www.ie.sjtu.edu.cn/?s=%E4 ... F%67%71%6A%6F%74%6B
http://physics.scu.edu.cn/search ... F%67%6C%72%76%73%69
http://www.ie.sjtu.edu.cn/?s=%E6 ... F%72%6F%65%68%77%6D
http://physics.scu.edu.cn/search ... 5%6F%74%69%6B%62%72
http://www.ie.sjtu.edu.cn/?s=%E5 ... 7%64%68%64%67%77%6C
http://physics.scu.edu.cn/search ... F%63%79%6F%71%66%68
http://www.ie.sjtu.edu.cn/?s=%E5 ... F%78%62%67%63%68%6D
http://physics.scu.edu.cn/search ... F%79%69%79%6E%70%6C
http://www.ie.sjtu.edu.cn/?s=%E7 ... 0%8F%62%75%77%6C%6F
http://physics.scu.edu.cn/search ... 8%68%77%79%61%63%67
http://www.ie.sjtu.edu.cn/?s=%E8 ... B%69%63%6A%63%76%6F
#include<stdio.h>
头文件应该是#include<stdio.h>
#include <stdio.h>这里有问题