Single Inheritance C++ program to find Strong Numbers within a range of numbers

Write a C++ program to find Strong Numbers within a range of numbers using Single Inheritance in object-oriented programming.

 

Output

Find Strong Numbers within a range of numbers:

Input the starting range of number: 1

Input Ending range of number: 145

The Strong numbers are:

1

2

145