Simple code in JavaScript to calculate square root of a number using Heron's algorithm
Just to get you up and running using this code, here's step by step how to do it:
1. Clone the repo into your device.
git clone https://github.com/pulo0/sqrt-root-js.git
2. Install Node.js
3. To run it, go to a terminal in your IDE of choice and type.
node heronsqrtroot.js
And you're set, hope it helped you in some way :)