Get the HCF of two numbers by entering them into the command line
Coded in python without any dependencies
- Install python
- cd ./hcf-generator-by-euclids-algo
- Type
python hcf.py
- JUST CHILL
- You will get the steps that were performed by the algorithm in the form of
a = bq + r
- You will get a line
The HCF is 1
just incase the numbers are coprime