For this programm we had to create a function to calculate the square of a number using the babylonian method. First, I had to investigate what the heck was the Babylonian Method because I had no clue. It was easy after I found this flowchart that I will post below. Also I included another function that calculated the square root in the traditional way just to verify that the babylonian method was correct.
***Important stuff***
+Functions are everything. Basically this partial was all about functions.
+Remember there are several ways to do the same thing.
+Do your programms by parts.
GitHub: https://gist.github.com/CesarR99/4321422d66ec668c46efdb6f724418a3