Hi, I am required to:
I need details how this is coded step by step in java.
I already started on the code and I have:
public class Project_7{public static void main(String[] args){Random randomNum = new Random();double[] arrayNum = new double[100];for(int i=0;i{arrayNum[i]=Math.random()*100;System.out.println(arrayNum[i]);}int sum = 0;for(int i=0; i{sum += arrayNum[i];System.out.println("Sum is" + sum );}double average = sum/100;
Its not perfect but its a start. Please include details for each step so I can understand. Thank you!
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here