Virtual base class C++ Program to convert a Octal number to a Decimal

Write a program in C++ to convert a Octal number to a Decimal number by using the virtual base class in object oriented programming.

Output

Please Enter an octal number: 9

decimal equivalent is 9

Add a Comment