use collection max and min. int max= Integer.MIN_VALUE; int min= Integer.MAX_VALUE; for(int x=0;x<inpNum;x++){ max = Math.max(max,x); min = Math.min(min,x); | 0 |
By: [email protected] On: Thu Feb 20 02:36:49 PST 2014 0 392 0 | 392 |
Are You Satisfied :2Yes1No |