Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 556 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 556 Bytes

sqrt-root-js

Simple code in JavaScript to calculate square root of a number using Heron's algorithm

Calculate Square Root Using Hero'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 :)