C++ Program to display the sum of the series using classes and objects

Write a program in C++ to display the sum of the series using classes and objects.

Output

Please input the number of terms. 5

the sum of the series is 111105.

Write a program to find the sum of the following series using classes and objects.
Different series programs in c++ using classes and objects.
All series program in C++ using classes and objects.