Multi Level inheritance C++ Program to convert a decimal number into an octal

Write a program in C++ to convert a decimal number into an octal without using an array using Multi-Level in object oriented programming(OOP) .C++ Program to convert a decimal number into an octal

Output

Enter the octal Number : 80

Your Entered Value is : 80

Octal Value of your Input is : 120