C++ Program using Virtual Base Class to to o check whether a number is a Strong

Write a C program to check whether a number is a Strong Number or not using the Virtual base Class in Object Oriented Programming(OOP).

Some FAQ

1 is a strong number or not? 1 is a strong number.

2 is a strong number or not? 2 is a strong number.

3 is a strong number or not? 3 is not a strong number.

4 is a strong number or not? 4 is not a strong number.

5 is a strong number or not? 5 is not a strong number.

6 is a strong number or not? 6 is not a strong number.

7 is a strong number or not? 7 is not a strong number.

8 is a strong number or not? 8 is not a strong number.

9 is a strong number or not? 9 is not a strong number.