WSQ07-Babylonian Method

--Originally published at diegotc2016

Doing this wsq was more or less difficult for me because I’m still having problems with the syntaxis of Java. First I tried to “translate” my old code in Python to Java, but my program didn’t work, but I finally got the code right.

Here’s a video that helped me for this WSQ:

I tried to do the WSQ using this guy method but the console displayed an error

Here’s my code in Eclipse using as an input number 36:

WSQ07-Babylonian Method

WSQ07-Babylonian Method

Here’s my code in Github:https://github.com/diegoalatorre/TC2016meromero/blob/master/WSQ07.java

WSQ07-Babylonian Method

 


WSQ07-Babylonian Method