/***************************************************************************** * Outputs two arrays of random numbers and their common numbers. * * Inputed: * * Outputed: array1, array2, samearray * * Written: 2002 * * By: Ronald Roberts * *****************************************************************************/ #include #include #include #include #include double randomfunction(int modulator, double shifter); int main() { srand((unsigned)time(NULL)); int array1[20]={0}, array2[20]={0}, samearray[50]={0}, numberofsamenums=0, k=0; cout<<"Array 1: "; for(int i=0; i<20; i++) { array1[i]=randomfunction(50,1); cout<