Convert decimal number into hexadecimal octal binary – single universal logic