C++ Program using Virtual Base Class to convert a decimal number into octal

Write a program in C++ to convert a decimal number into octal without using an array and Virtual base Class in Object Oriented Programming(OOP).

Octal to Decimal number program in C++

Output

Please Enter Any Number to change in to octal : 12

Your Entered Value is : 12

Octal Value of your Input is : 14

FAQ
Decimal to octal conversion.
write a program to convert the given decimal number into octal number using the for loop.
Decimal to octal conversion using OOP Classes.
Decimal to octal conversion with classes, inheritance and multiple inheritence.
Decimal to octal conversion by virtual base class.