#include void main() { int i,s; s=0; for (i=1; i<=100; i++) s+=i; printf("1+2+3+...+100=%d\n",s); }