File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sorting alphabetic characters (using Array)

 
Malcolm Bibins
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to create a program that reads in 10 alphabetic characters, then displays those characters in alphabetic order. I thought I had it, but the code I have now doesn't sort them. It actually just gives me the characters back in the exact same order. Here is what I have:



If someone can someone show me what I did wrong, and a code as to how to remedy the situation, I'd be very grateful.
 
Malcolm Bibins
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, wow. Nevermind folks. Easy fix.
 
Paul Clapham
Sheriff
Pie
Posts: 20196
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, you changed "Ready, Fire, Aim" to "Ready, Aim, Fire"?

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic