You are viewing a single comment's thread. Return to all comments →
Hey super ! But instead of sorting array. I've used simple loop to play with it a little longer ;)
int max = result[0]; for(int i=1; i < result.length; i++){ if(result[i] > max) max = result[i]; } System.out.println(max);
Seems like cookies are disabled on this browser, please enable them to open this website
Day 11: 2D Arrays
You are viewing a single comment's thread. Return to all comments →
Hey super ! But instead of sorting array. I've used simple loop to play with it a little longer ;)