Question: this question im have some difficulty can i get some help ill show you what i did and i cant figure wat im doing wrong

this question im have some difficulty can i get some help ill show you what i did and i cant figure wat im doing wrong or if i am doing wrong.

Program71.java

Write a program with a method that takes an array of 24 random integers as its only argument. The method should print the array elements in six columns, each six characters wide and return the mean (average) of the array. The main method should create the array, pass it to the method, and display the mean accurate to one decimal place. The random integers must be between 40 and 60, inclusive. Sample Output this question im have some difficulty can i get some help ill

this is my program on the bottom

show you what i did and i cant figure wat im doing

63 93 Here is the random array... 65 74 86 54 90 78 70 64 98 92 62 63 60 68 55 75 79 49 48 80 The mean of the array is 71.4 59 89 public class Program7_1_11 { public static void main(String[] args) { int [] nums = new int[24]; for(int i = 40; i

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!