Question

Title: Converting decimal numbers to binary

OBJECTIVES

You will develop an algorithm to convert decimal numbers to binary numbers, then apply the algorithm to several decimal numbers to obtain their binary equivalents.

PROCEDURE

To convert a decimal number to its equivalent binary number, use the following procedure. Divide the decimal number by 2 and record the quotient and remainder, R. The quotient obtained is the next number to be divided by 2. The remainder