Question: **JAVA CODE ONLY **** Write a loop that computes the average of an array of integers called anArray that has been previously declared and initialized.
**JAVA CODE ONLY ****
Write a loop that computes the average of an array of integers called anArray that has been previously declared and initialized. Store the result in a variable of type integer called theAverage that has been previously declared and initialized to zero
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
