• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

output of this code

 
Rajesh Veluchamy
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you say what is happening in this program(sort jsp).........
the comment line is written by me

output:

10,5,40,25,1000,1

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

1,5,10,25,40,1000

-Rajesh.v
Software Consultant (IT)
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Eric
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic