0

How do u create a method to find HCF of the numbers

17th May 2017, 6:59 PM
Mohammed Arshad
Mohammed Arshad  - avatar
2 ответов
+ 1
you can use Euclid algorithm. Here is a paste from Wikipedia. function gcd(a, b) while b ≠ 0 t := b; b := a mod b; a := t; return a;
17th May 2017, 7:35 PM
Venkatesh Pitta
Venkatesh Pitta - avatar
+ 1
what is hcf?
17th May 2017, 7:29 PM
Edward