average of array in java
In this article we are going to find average of given array of numbers. Example:- Let’s a given array={2,4,6,8}, then the average of given array will be 5. Steps:- Java code to find average of array:- Output:-
In this article we are going to find average of given array of numbers. Example:- Let’s a given array={2,4,6,8}, then the average of given array will be 5. Steps:- Java code to find average of array:- Output:-