Pregunta de entrevista de Granular

Write a function that converts between different units of measurement.