combinedMean is variable to store the combined mean of both array .
combinedMean = ( n * mean1 + m * mean2 ) / ( n + m ) ; NEW_LINE print ( " Combined ▁ Mean : ▁ " , round ( combinedMean , 2 ) ) ; NEW_LINE