At first it was a little confusing, but with a simple do-while loop I managed to get this working.
Here’s the code:
#TC1017 #wsq13: Babylonian Method by Juan Pablo Barberena is licensed under a Creative Commons Attribution 4.0 International License.