Find the Sum of a Series 1 + 1/2 + 1/3 + … + 1/n

Write a program to calculate the sum of the series up to n terms.

Scroll to Top