// Please write the body of this function. The parameters // c and d are both arrays with n elements. The function // swaps each individual element of c with the corresponding // element in d. For example, c[0] is interchanged with d[0], // c[1] is interchanged with d[1], and so on to the ends of // the arrays. void swap_arrays(double c[], double d[], int n) { double temp; //Swap variable int i; //Loop variable for(i=0; i