how would you add 1 to a number of a non decimal base?
for example is their a way to make a 3 with a base of 4 to a 10 with a base of four?
Printable View
how would you add 1 to a number of a non decimal base?
for example is their a way to make a 3 with a base of 4 to a 10 with a base of four?
You do exactly the same as you do when you add decimals. Just think about it...
Is your base 4 number stored in a character array?