here is the question from my teacher, i'm not sure how to get started on this:
"Consider the following sort procedure written in pseudo code:
Exchange Sort of Array X[]
For I = 0 to (number of array elements - 2), increment by 1
For J = (I + 1) to (number of array elements - 1), increment by 1
If X[I] is greater than X[J] then
swap X[I] and X[J]
Next J
Next I
Implement the sort procedure in main() without using pointers.
Declare the array as follows using the test data shown:
int x[] = { 28, 87, -3, 45, 19 };
Use a for loop to print out the array before sorting and again after sorting."