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

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.