Geeks for Geeks — Questions and Solution (Practice/School) — 1
Sum of Series Sum of Series | Practice | GeeksforGeeks Write a program to find the sum of the given series 1+2+3+ . . . . . .(N terms) Example 1: Input: N = 1 Output: 1… www.geeksforgeeks.org class Solution { public: long long seriesSum(int n) ...


