Question:
Recursive algorithm
A. Design a recursive algorithm whose input is a decimal integer and whose output is the binary representation of the input.
B. Design a recursive algorithm that computes the reverse of the result in (a) - that is, converts a binary integer to its decimal equivalent.