Tata Steel interview question

Write a code in Java to find the mean of an Array

Interview Answer

Anonymous

May 14, 2025

Simply add all the number's of Array and divide it by n, where n is length of the array