Pergunta de entrevista da empresa RBC

how to count decimal from one to a thousand