Forums - C# Corner

Forum guidelines
Avuya Mxoli

Avuya Mxoli

  • 615
  • 138
  • 115.7k

Bubble Sort c#

Aug 30 2011 1:44 AM
Hello guys...I need help wth a c# program(Console plz) where im asked to show bubble sort in these conditions: the array is of 5000 int elements,reverse sorted,already sorted and randomly sorted. The output shud show:number of comparisons and how many swaps were performed. I need the same for insertion and selection sort but I just need help wth one of them il figure out the rest.

Answers (6)

Join a Chapter


Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.