We will review order notation and follow examples presented here, |
We will define recursive methods for the following,
We can now convert hex to binary using decimalToBinary( hexToDecimal( hexValue ) ) The following method to converts a hex character ( 0 - 9, A - F ) to decimal ( 0 - 15 ).
|
http://cs-people.bu.edu/tvashwin/cs112_spring08/lab01.html |