Forums - C# Corner

Forum guidelines
Avuya Mxoli

Avuya Mxoli

  • 1.1k
  • 236
  • 119.3k

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.
Thanks

Answers (6)

Download Free eBooks

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!