#include <stdio.h> int main () { int s=0,i; for(i=1;i<=100;i++){ s+=i; } printf("\n%d",s); i=1,s=0; while(i<=100){ s+=i; i++; } printf("\n%d",s); i=1,s=0; do{ s+=i; i++; }while(i<=100); printf("\n%d",s); return 0; }