Write a procedure
void min_max(int a, int b, int& mn, int& mx);
to store in @mn@ the minimum of @a@ and @b@, and store in @mx@ the maximum of @a@ and @b@. For instance, if called with @a@ and @b@ , the values after the call must be @mn@ and @mx@ .
You only need to submit the required procedure; your main program will be ignored.
Input/Output