C++ Program using Virtual Base Class to convert a decimal number into binary

By Prof. Fazal Rehman Shamil

Write a program in C++ to convert a decimal number into binary without using an array and using the Virtual base Class in Object Oriented Programming(OOP).

Output

enter decimal number : 8

binary number = 1000

 

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.