Thread
:
printing two smallest numbers from a series of numbers
View Single Post
#
3
(
permalink
)
10-15-2008, 01:46 AM
Norm
Senior Member
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Quote:
I just cant figure out how to print the second smallest number.
This should do it:
System.out.println("Second smallest= " + secondsmallest);
Norm
View Public Profile
Send a private message to Norm
Visit Norm's homepage!
Find all posts by Norm