[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to find GCD and LCM in C ?

im studieng math now and many time i need to find GCD (Great Common Divider) and LCM (Least Common Member). I can create a loop to find it by dividing by list of prime numbers then finding thier ^ (i dont how it is call in english but for example 2^2 =4 )

Reply to: