Ask the user for a number write a program to convert it to binary, use only those things that you have been taught till now. number should be between 1 and 100 Display the number in binary and close the program gracefully. If the user does not give an input, generate a random number and convert to binaRY.
The number given as input is smaller than 16, so you can use only 6 variables to store the dividends and 6 vairiables for remainders .FINISH THIS TASK WITH ONLY THOSE THINGS YOU WERE TAUGHT IN PREVIOUS CLASS. The procedure to convert a number to binary is as follows :