Pergunta de entrevista da empresa Calsoft

write a program to reverse a number