DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
how to find smallest number in array java
for(int i = 0;i<arr.length;i++){ int min = arr[0]; if(arr[i]<min){ min = arr[i]; } return min; }
PREVIOUS
NEXT
Tagged:
#find
#smallest
#number
#array
#java
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit