DXC Technology Interview Question

program to find the square root of number