R
Robert
Everything works fine except for this strange line:
Change it to
And it sorts in ascending order. Not exactly the fastest algorithm though.
-- Robert
> printf("%6d", (k % 2 == 0) ? 333 : a[k]);
Change it to
> printf("%6d", a[k]);
And it sorts in ascending order. Not exactly the fastest algorithm though.
-- Robert