Program number 9
This program will convert a decimal (Base10) number into a binary (Base2) number, then back into Base10. There are subroutines in JavaScript for a direct conversion (without doing it manually), but I didn't use that - I don't know if I was supposed to. Anyway, this program I spent the most time on, because it was really hard to do! It is also my longest program.
Copyright © 2002 Derek Tsang