Function to print the ratio of LCM to GCD of the given array
static void findRatio ( int [ ] arr , int n ) { int gcd = findGCD ( arr , n ) ; int lcm = findLCM ( arr , n ) ; Console . Write ( ( lcm / gcd ) ) ; Console . Write ( " : 1" ) ; }