Start
Input: number
Iteration (while number is greater than zero)
1.1 Find out the remainder after dividing the number by 2
1.2 Print the remainder
1.3 Divide the number by 2
End the iteration
End
The above Algorithm is used to:
(a) To find Reverse of a string.
(b) Converting a decimal number into a binary number
(c) Converting a Binary number into a Decimal number
(d) None of the above