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

By: Prof. Fazal Rehman Shamil
Last modified on April 7th, 2021

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

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

Output

Enter the octal Number : 10

Your Entered Value is : 10

Octal Value of your Input is : 12

 

Prof. Fazal Rehman Shamil