Write a function sort3d() that sorts three integers indecreasing order. You may use:
void sort2d(int& a, int&b){ int temp; if (a < b) { temp = a; a = b; b = temp; }}
Solution
void sort3d(int& a, int& b, int& c){ //makes b > c sort2d(b,c); //makes a > b sort2d(a,b);
OR
OR