relation between hcf lcm and two numbers code example Example: lcm hcf relation PRODUCT(A,B) = HCF(A,B) * LCM(A,B)