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...
Type: Posts; User: snowguy13
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...
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...