Pergunta de entrevista da empresa HCSS

Given a number between 1 and 3000, write a function in google docs that will convert that number to Roman numerals.