Find any pair with given GCD and LCM | C ++ program to print any pair with a given gcd G and lcm L ; Function to print the pairs ; Driver Code
#include <iostream> NEW_LINE using namespace std ; void printPair ( int g , int l ) { cout << g << " ▁ " << l ; } int main ( ) { int g = 3 , l = 12 ; printPair ( g , l ) ; return 0 ; }