Constructor Overloading C++ to convert an octal number into binary

Constructor Overloading C++ to convert an octal number into binary

C++ program to convert an octal number into binary

Write a program in C++ to convert an octal number into binary using constructor overloading.

Output

Enter an octal number to convert: 4

Octal number 4 is equivalent to Binary: 100