Saturday, April 1, 2017

Base Calculator Mach One

At the moment, here are the capabilities of my code:

It can transform any base from 2-36, inclusive, into every other.

It can take any size input that will not crash your computer.

It can work even if the number input involves digits not seen in the input base (for example, HELLO can be an input for base 10)

And it will print out each individual addition which takes place, for those who care about such things.

Here's my code, which is commented such you can see what's going on at any given point:







It doesn't take inputs yet, but the output looks like this:



No comments:

Post a Comment