sort numbers in a matrix

to sort numbers in a 3x3 matrix,where only adjacent numbers can be swa

Page 1 of 1

1 Replies - 7213 Views - Last Post: 15 February 2008 - 01:32 PM Rate Topic: -----

#1 sufiya  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 15-February 08

sort numbers in a matrix

Post icon  Posted 15 February 2008 - 01:24 PM

help me find a code or a logic to sort numbers in a 3x3 matrix,wherein only adjacent numbers can be swapped.
Is This A Good Question/Topic? 0
  • +

Replies To: sort numbers in a matrix

#2 PennyBoki  Icon User is offline

  • system("revolution");
  • member icon

Reputation: 53
  • View blog
  • Posts: 2,334
  • Joined: 11-December 06

Re: sort numbers in a matrix

Posted 15 February 2008 - 01:32 PM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Post your code like this: :code:
Thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1