compute geometric mean through formula antilog ( ( ( log ( 1 ) + log ( 2 ) + . . ... + log ( n ) ) / n ) and return the value to main function .
sum = sum / n ; NEW_LINE return math . exp ( sum ) ; NEW_LINE