DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
max element in array
int max; max=INT_MIN; for(int i=0;i<ar.length();i++){ if(ar[i]>max){ max=ar[i]; }
Source by www.smashingmagazine.com #
PREVIOUS
NEXT
Tagged:
#max
#element
#array
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit