I need to write a recursive function that takes an integer number (say 12) and change it to binary (1100) and I have no idea how to code it. Does anyone have any ideas?
Also, I have write another recursive function that takes an interger, say 12 again, and will add the two digits so it is 3 (this function isn't as important). Thanks!
Aaron