Search:

Type: Posts; User: Faz

Search: Search took 0.51 seconds.

  1. Thread: Crazy array

    by Faz
    Replies
    18
    Views
    2,668

    Re: Crazy array

    JP I know we're here to help but have you ever thought of actually trying these things out for yourself to find out? Even if it doesn't work you learn something and then you try something new you...
  2. Thread: Crazy array

    by Faz
    Replies
    18
    Views
    2,668

    Re: Crazy array

    You don't have curly brackets for the second for loop so the first line after runs 4 times instead of the block you are expecting.



    for ( i = 0; i < arrayOfOs.length; i++)
    {
    for ( j = 0; j <...
  3. Thread: Crazy array

    by Faz
    Replies
    18
    Views
    2,668

    Re: Crazy array

    This doesn't really make a difference just some general advice. Theres no need to declare i and j in the main method infact you don't need to declare them until the for loop


    for (int i = 0; i <...
Results 1 to 3 of 3