/**
 * Name: Edison Chindrawaly
 * File: BubbleSort.h
 * Course: CSCI4300
 */

#include <stdlib.h>
#include <stdio.h>
#include <iostream.h>

class BubbleSort
{
 private:
  int bubble_size;
 
 public:
  BubbleSort(): bubble_size(0) { }
  BubbleSort(int size) { bubble_size = size; }
  BubbleSort(int[],int );
  ~BubbleSort() { bubble_size = 0; }
  int getSize() { return bubble_size; }
  void Sort(int[]); 
  void SortSize(int,int[]);
  void exchange(int,int,int[]);
};

 

1