#include <伍枣答stdio.h>
#include
int main()
{
int i,sum=0;
for(i=1;i<=100;i++)
sum+=i;
printf("腔慧%d",sum);
system("pause");
}
#include
int main()
{
int a=0,b=0;
for(a=0;a<=100;a++)
{
b+=a;
}
printf("腔卖\搭档n%d\n"伍枝逗,b);
}
5050
Press any key to continue
main(){
int i=1sum=0;
for(;i<=100;i++)
sum+=i;
printf("颂宏%d"野旁册启皮,sum);
}