Pergunta de entrevista da empresa Bloomberg

Write an program to calculate the square root of an integer