Coforge Interview Question

Develop a function to calculate the square root of any number without using predefined functions