Babylonian Method

--Originally published at Future Queen of C++

In theory, this was an easy WSQ, but when I tried the loop I had some issues doing the while. This was because I didn’t put the variables in a correct way. But when I saw the blog of a classmate I was able to see my mistake and correct it.


WSQ10 – Babylonian Method

--Originally published at Solving problems with programming

At first this method seems to me so complicated, so i look after my friends and they help a lot with the babylonian method because some of friends have done this assignment by the day i asked for it and another have work with this algorithm some time ago.

I understand that babylonian method is like and square root but with an unique and larger method.

At the end I´ve end with the code on this link https://gist.github.com/jesuscmadrigal/65f2eb1758b25dfe6427e0206b67d292

Haga click para ver el pase de diapositivas.