OSIsoft interview question

Write an algorithm to calculate a square root

Interview Answer

Anonymous

Sep 16, 2015

counter=0 upper=input_number lower=0 while counter upper: upper=middle else: lower=middle counter+=1 print(middle)