C++ Program to display the sum of the series using Multiple inheritance

Write a program in C++ to display the sum of the series using multiple inheritances.

sum of the series multiple inheritance
sum of the series multiple inheritance

Output

Please input the number of terms. 6

the sum of the series is 1111104.

Write a program to find the sum of the following series using multiple inheritances.
Different series programs in c++ using the multiple inheritances.
All series program in C++ using the multiple inheritances.

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.