output should be like
Code:

[FONT="] java Radix 235 16[/FONT]
[FONT="] 235 in base 16 is EB
java Radix 235 2[/FONT]
[FONT="] 235 in base 2 is 11101011[/FONT]
[FONT="] java Radix 1758 36[/FONT]
[FONT="] 1758 in base 36 is 1CU[/FONT]
[FONT="] java Radix -50 8[/FONT]
[FONT="] Invalid decimal number: -50[/FONT]
[FONT="] java Radix 50 37[/FONT]
[FONT="] Invalid radix: 37[/FONT]
[FONT="] java Radix -50 37
Invalid decimal number: -50[/FONT]
[FONT="] Invalid radix: 37[/FONT]

Last edited: Jan 31, 2008