Multilevel inheritance C++ program to show the sum of an A.P. series

By: Prof. Fazal Rehman Shamil

Write a c++ program to find out the sum of an A.P. series by using the multilevel inheritances in object-oriented programming.



Input the starting number: 2

Input the number of items: 4

Input the common difference: 6

the Sum of the A.P. series are :


Prof. Fazal Rehman Shamil