javaScript my array code runs with for loops, but nothing displays? : I don't understand why this runs but does not print anything. (I am new to coding altogether, so any advice is great.)


    import java.util.Scanner;
    import java.util.Random;
    public class ArrayDoubleValues{ 
    public static void main(String[] args){ 



    Scanner scan = new Scanner(System.in);


    // Length input
    System.out.println("Length: ");
    int length = scan.nextInt();

    int[] list = new int[length];

    for (int i = 0; i == list.length; i++){
    list[i] =(int)(Math.random()+ 1) * 100; 
    System.out.print(list.length);}

    for(int i = 0; i == list.length; i++){
    System.out.println(list[i]); }



    }
    }