12345678910111213141516171819
#include<stdio.h> #include<math.h> int main() { float k,n,harm; harm=0; n=5; k=0; /*while(k<n)*/ { k=k+1; harm=harm+1/k; } printf("%f",harm); printf(" I "); return 0; }