Search:

Type: Posts; User: snowguy13

Search: Search took 0.09 seconds.

  1. Thread: Arrays

    by snowguy13
    Replies
    6
    Views
    1,768

    Re: Arrays

    I don't think the Array class has a maximum method, but you can check each value individually by using the Math.max() method. It accepts two numbers and returns the larger of the two. If you compare...
  2. Thread: Arrays

    by snowguy13
    Replies
    6
    Views
    1,768

    Re: Arrays

    Then don't use if-statements. Use a for-loop that iterates as many times as the number of integers stored in the array, and name a variable "int biggest" or something like that. In the for-loop, tell...
Results 1 to 2 of 2