Computer Science, asked by saini38902, 10 months ago

write the rules to covert decimal number to binary number​

Answers

Answered by shreyashmodi
3

Answer:

To convert decimal number into binary number, the program should divide the decimal number by 2 again and again till the number can be divided by 2 and the program should display (print) the remainders of each division on monitor screen (in reverse order) to form the binary equivalent.For Example: If the Decimal number 27 is given as input, the program will print the binary equivalent as 11011

hope it will help

mark brainlist

Similar questions