This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes output of this code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "output of this code" Watch "output of this code" New topic

output of this code

Rajesh Veluchamy
Ranch Hand

Joined: Jan 15, 2008
Posts: 47
can you say what is happening in this program(sort jsp).........
the comment line is written by me



5 1000
40 25
10 40
40 1000
1 1000
1 5
40 5
10 25
1 25
25 5
1 10
10 5
5 1


Software Consultant (IT)
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
I am not sure what you are after here....It goes through the array and sorts the number. The output shows how the sort works.

I agree. Here's the link:
subject: output of this code
Similar Threads
how to encrypt the text
Help with displaying data properly
new to JavaScript but got Probs
JavaScript code question