Coders Packet

Decimal to Binary, Binary to Decimal using C++

By Neeraj Kumar Singhal

Program to convert Decimal number into Binary format and Binary number to Decimal format using C++. The Binary number describes numeric values by two separate symbols: 1 (one) and 0 (zero).

In this project. I have created a system that asks the user about what he wants to do between "Decimal to Binary" or "Binary to Decimal". 

If the user selects the first option then he has to enter a decimal number and the output will be the binary string. Else if the user selects the other option he has to input a binary string and the output will be a decimal number.

For more information, Download the project.

Output is shown below:

 

Output Screenshot:

THANKS

Download Complete Code

Comments

No comments yet