Introduction - If you have any usage issues, please Google them yourself
. To convert a decimal integer between 2 to 9 for a hexadecimal number of any output. (Using stack) Tip: void transform (long num, int r)// num to a long integer is converted to a binary number of r output. Conversion method is to take over successive addition to the base r method. Output when the remainder received the reverse output, so need to use the stack.