C program for converting decimal number to binary

convert decimal to binary in c
converting integer to binary number in c

Program :-


Output:-

Enter integer number
4
Binary number
100

Enter integer number
14
Binary number
1110


Click here to download source code

3 Comments

  1. Needless to say, fees are critical. If you have the option concerning an organization which makes sense out and about 75% of your respective profits and another which makes sense 90%, you decide on the particular second item, don't you? binary matrix pro

    ReplyDelete
  2. Needless to say, fees are critical. If you have the option concerning an organization which makes sense out and about 75% of your respective profits and another which makes sense 90%, you decide on the particular second item, don't you? binary matrix pro

    ReplyDelete
  3. Algorithm to convert Decimal to Binary number
    Divide the input decimal number by 2 and store the remainder.
    Store the quotient back to the input number variable.
    Repeat this process till quotient becomes zero.
    Equivalent binary number will be the remainders in above process in reverse order.

    ReplyDelete

Add your comments here

Back to Top