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

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.