• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sorting alphabetic characters (using Array)

 
Malcolm Bibins
Greenhorn
Posts: 7
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh, wow. Nevermind folks. Easy fix.
 
Paul Clapham
Sheriff
Posts: 21117
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, you changed "Ready, Fire, Aim" to "Ready, Aim, Fire"?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic