Thers an alternate way to do this would be to store all those numbers into an array, then sort the array and gets the first and last element(It uses java.util package):
arr_nums // integer array of 100 numbers
System.out.println("The lowest number is " + arr_nums);
System.out.println("The biggest number is " + arr_nums[arr_nums.length-1]);
Last Wiki Answer Submitted: January 25, 2010 11:30 am by Karl Gechlik9,815 pts.