soring of arrays in increasing order

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramyaapriya
    New Member
    • Mar 2008
    • 1

    soring of arrays in increasing order

    write a c program to sort n(1<=n<=200) integers stored in an 1-d array in non descending order .
  • Natasha26
    New Member
    • Mar 2008
    • 12

    #2
    Originally posted by ramyaapriya
    write a c program to sort n(1<=n<=200) integers stored in an 1-d array in non descending order .
    Have u tried anything? Bubble sort perhaps, very easy 101 stuff.

    Comment

    • gpraghuram
      Recognized Expert Top Contributor
      • Mar 2007
      • 1275

      #3
      Originally posted by ramyaapriya
      write a c program to sort n(1<=n<=200) integers stored in an 1-d array in non descending order .

      If you have the K&R C book you can have the code for this there

      Raghuram

      Comment

      • Ganon11
        Recognized Expert Specialist
        • Oct 2006
        • 3651

        #4
        There is also an article in the Howtos section about sorting in C++/C.

        Comment

        • SpecialKay
          New Member
          • Mar 2008
          • 109

          #5
          I like Shell Sort!
          But im not doing your homework for you :)
          If you want to post your work so far, be happy to give you a pointer

          Comment

          Working...