Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compering elements

 
fozia inam
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my problem is that i could not understand that how can i compere the first element of array with thirdone or so on upto the last element.please help me i m confused
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sudo-code, which means I didn't try and compile.

So here are some examples (ugly though they be). Do these help in anyway or would you like more specific examples?
 
William Barnes
Ranch Hand
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
More sudo-code
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic