All pastes #548140 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-06-07 17:03 UTC
rendered paste body
for(y; y <= index; y++) {
     for(x; x <= index-1; x++) {
          if (a[x] > a[x+1]) {
               int t = a[x];
               a[x] = a[x+1];
               a[x+1] = t;
          }
     }
}