0

hey alll..I posted earlier on needing help for a code on input #..base..print decimal form..I actually didnt learn this in high school so thats why I was having so much trouble :@

Now that I read up and understand the logic in bases..I was thinking that for my code I would use an algorithm that would convert between bases..

I was thinking:

divide input by 2

use remainder

so lets say for 6

n n/2 remainder

6 3 0

3 1 1

1 0 1

then just convert from binary to the input..which is where I am lost..converting from binary to any base

thanks all!