C++ Program to convert a decimal number into an octal using Classes and Objects

Write a program in C++ to convert a decimal number into an octal without using an array using Classes and Objects.

C++ Program to convert a decimal number into an octal

Output

Enter the octal Number : 9

Your Entered Value is : 9

Octal Value of your Input is : 11