int pgcd(int, int); int ppcm(int a, int b) { int g; g = pgcd(a, b); return (a / g) * b; }