It appears you are trying to find the max value of an array.
Since your array is small, you should do the bruteforce method of simply looping through the array, comparing the current max value with each value in the array (current max starts at 0, or some really large negative number).
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
It appears you are trying to find the max value of an array.
Since your array is small, you should do the bruteforce method of simply looping through the array, comparing the current max value with each value in the array (current max starts at 0, or some really large negative number).