View Single Post
  #3 (permalink)  
Old 10-15-2008, 01:46 AM
Norm's Avatar
Norm Norm is offline
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Norm is on a distinguished road
Quote:
I just cant figure out how to print the second smallest number.
This should do it:
System.out.println("Second smallest= " + secondsmallest);
Reply With Quote