I want to calculate lcm of two integers without using gcd method. What should I do?
I dont want to calculate this way :
public static int lcm(int a, int b)
{
return ((a*b)/gcd(a,b));
}
I want to calculate lcm of two integers without using gcd method. What should I do?
I dont want to calculate this way :
public static int lcm(int a, int b)
{
return ((a*b)/gcd(a,b));
}
delete this question admin