Hi, everyone! I have an exercise that says "Make a program to read two whole values and call a function to receive these2 entrance values and return the largest value in the first variable and the smallest value in the second variable. Write the content of the 2 variables in the screen" ---------------------------------------------------------------------------------- Which of the functions would the most appropriate be for restored her/it of the exercise the first with pointers as parameters? Or Monday with parameters for reference? --------------------------------------------------------------------------------- The first function code: void larger_and_smaller_value(int *value1,int *value2){ int smaller_value{}; if(*value2 > *value1){ smaller_value = *value1; *value1 = *value2; *value2 = smaller_value; } } ---------------------------------------------------------------------------------- The second function code: void larger_and_smaller_value(int& value1,int& value2){ int smaller_value{}; if(value2 > value1){ smaller_value = value1; value1 = value2; value2 = smaller_value; } }