Write a procedure
void sort3(int& a, int& b, int& c);
to sort @a@, @b@ and @c@ in nondecreasing order. For instance, if called with @a@ , @b@ and @c@ , the values after the call must be @a@ , @b@ and @c@ .
You only need to submit the required procedure; your main program will be ignored.
Input/Output