Pergunta de entrevista da empresa MuleSoft

Write a program that receives a number and convert it to hexadecimal.