Computer Science, asked by MisnamingLover07, 11 months ago

1/2+ 2/3+........n/n+1<br /><br /> write a program in c to print a series and sum of all the terms.​

Answers

Answered by DeepakDhyani
0

Answer:

float s=0,j=2,i;

for (i=1;i<=n;i++)

{

s=s+i/j;

j++;

}

printf("%f",s);

Similar questions