MuleSoft Interview Question

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