Computer Science, asked by Sakshipmenon3875, 9 months ago

Code for the series 1/1+1/2+1/3+1/4+1/5+1/6..........1/n

Answers

Answered by 217him217
1

Answer:

#include<stdio.h>

void main()

{

int i,n;

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

{

printf("%f +", 1/i);

}

}

Similar questions