Home > Back-end >  The number of C language two LCM
The number of C language two LCM

Time:05-14

#include
Int main ()
{
Int I, x, y, k;
The scanf (" % d % d ", & amp; X, & amp; Y);
{
k=0;
for(i=1; i<=y; I++)
If (I==0 x * | | x * I % y==0)
k++;
If (k
=1)Printf (" % d \ n ", x * I);
}
return 0;
}
Brothers, where do wrong
  • Related