inheritance C++ sum of all integer between 100 and 200 which are divisible by 9

Write a program to find the number and sum of all integer between 100 and 200 which are divisible by 9 using the classes.

WAP to find the number and sum of all integer between 100 and 200 which are divisible by 9 using the single inheritance.

WAP to show the sum of all integer between 100 and 200 which are divisible by 9 with the help of multiple inheritances.

WAP to show the sum of all integer between 100 and 200 which are divisible by 9 with the help of multi-level inheritance.