string - print hexadecimal representation of an int -
i looking pseudocode prints hexadecimal represenation of integer string.
thanks!
- take remainder of integer modulo 16
- convert remainder hex digit
- place hex digit left-most position in output string
- divide integer 16
- repeat above until value zero
Comments
Post a Comment