write the main code in bluej to display these up-to n terms: 1 1/2 1/3. 1/4.....upto n
Answers
Answered by
0
Logic:
for(int i=1;i<=n;i++)
{
Int sum=sum+(1/i);
}
Hope it helps
Similar questions