Originally Posted by
casper7
3. the kind of sorting i'm trying to do is finding the smallest number and
returning its index. (function called placeOfMin(.......).
then, using SortArray (funcition), i want to run threw the numbers and switching the first member with the smallest one. the parameters in sortArray are (int arr[50], int first, int size) whereas
arr[] - is the array.
first - is the first member of the array (that jumps by one everytime)
size - the total amount of member in the array (an unput made by the user).