Write a program that reads a number and prints all of its binary digits. Print the remainder %2, then replace the number with / 2. Keep going until the number is 0. For example , if the user provides the input 13 , the output should be.
this program should be able to produce outputs for numbers 6, 234, 3122 and 83112
the topics covered before this question are while loops, for loops, and do loops.