Sum Of Series 1 + 1 / 2 ^ 2 +. . . . 1 / n ^ n
A program to compute the sum of a given series 1 + 1/2^2 + 1/3^3 + …..+ 1/n^n. For this, we will be given the value of n, and our task will be to add up each term, beginning with the first, to find the sum of the given series. Program code: Output: Note: also […]
November 5, 2022 | C++ | No comments