Multiple inheritance C++ program to convert a decimal number into binary

Write a program in C++ to convert a decimal number into binary without using the multiple inheritances.

convert a number into binary in C++ C plus plus and C flowchart