# include <stdio.h> int main(void) { int i, sum=0; for(i = 1; i<=100; ++i) { sum = i+sum; } printf("sum=%d", sum); return 0; }