CSCI 159 Quiz 3 | Name: |
gedit quest1.cpp &
g++ quest1.cpp -o quest1x
./quest1x
There are three questions and you have 60 minutes to complete the quiz.
// for each array position, p, from 0 to size-2 // go through all array positions >= p to find which one holds the largest value, // then swap the contents of that position and position p void xSort(double arr[], int size) |