Here is my code for wsq13:
The babylonian method to get the square root of a number was first created by the babiloninas. The method works by creating to integer values that can be an overestimate of the sqrt of a number, therefore, the average of those two overestime values will result in the sqrt of the number.
The program creates the overestimate number by dividing the number given by the user and then creating a new variable to store the result of the division in order to use it inside the loop.
WSQ13 by carlos green is licensed under a Creative Commons Attribution 4.0 International License.