C++ Program to Calculate Sum of Series 1³+2³+3³+n³

C++ Program to Calculate Sum of Series 1³+2³+3³+n³ 2

Write a C++ Program to Calculate Sum of Series 1³+2³+3³+n³ with an example. The math formula to find Sum of Series 1³+2³+3³+……+n³ = (n(n + 1)/6)².  #include<iostream> #include<cmath> using namespace std; int main() { int number, sum = 0; cout << “Enter the Number to find sum of Series 1^3 + 2^3 = “; cin … Read more