#include<stdio.h> main() { int i; double x; x=0; for(i=1; i<=10; ++i){ x += i; printf("%f\n", x); } }