#include <stdio.h> void main() { int i=2,j=1; double sum=0.0; for(;j<=20;) { sum+=(double)i/j; i++; j++; } printf("sum=%g",sum); }