Pergunta de entrevista da empresa IMG Global InfoTech

let a=123 Reverse a number without converting it to a string and without using in built methods.