Honeywell Interview Question

implement sqrt() function through logic