/* The following C program randomizes a sequence of integer numbers */ /* Output is the randomized sequence of the numbers */ /* C libaries */ #include #include #include /* Enter the desired number of data values */ #define DATAVALUES 100 main(){ int i,k; int totaldata; int icount; int ipl; int krandom[DATAVALUES]; int randomflag; /* Change to desired number of data values */ totaldata=100; /* Randomization algorithm */ k=0; krandom[0]=rand()%totaldata; for(icount=0;icount