analysis of non recursive algorithm while loop

Published --