Write a program that takes 2 integers as input and outputs them in ascending order. I have given you the main and swap function. Each group writes one of the remaining functions. Use this algorithm: -get inputs -put in ascending order -output values Group 1 writes the get_inputs function Group 2 writes the ascending_order function that uses the swap function Group 3 writes the give_output function solution (including functions provided by me): #include using namespace std; //function prototypes (declarations) void get_inputs(int& first, int& second); void ascending_order(int& first, int& second); void give_outputs(int first, int second); void swap(int& first, int& second); int main() { int first, second; get_inputs(first, second); ascending_order(first, second); give_outputs(first, second); return 0; } //function definitions //Passed in references to 2 variables not necessarily initialized yet. //Assigns inputs from user to both reference parameters using cout and cin. //Requires iostream library void get_inputs(int& first, int& second) { cout << "Enter 2 integers\n"; cin >> first >> second; } //Passed in references to 2 integer variables that have been initialized. //Uses swap function if needed to switch values so that first has a value //smaller or equal to second. void ascending_order(int& first, int& second) { if (first > second) { swap(first, second); } } //Passed in by value 2 integers that are output using cin in the order they //are passed in (first second). void give_outputs(int first, int second) { cout << first << " " << second << endl; } //Passed in references to 2 integer variables that have been initialized. //The value passed in using first is assigned to the parameter second and the //value passed in using second is assigned to the parameter first. void swap(int& first, int& second) { int temp = first; first = second; second = temp; }