Description: The preparation of a function. The function accepts the following parameters: the name of an int array, array size and select the number of a representative value. Function from the array and then randomly select a specified number of elements and print them. Select up to each element of a (simulated draw, or the selection of jury members). In addition, use time () or other similar function to generate the seed. To srand () function to initialize the random number generator rand (). The preparation of a simple procedure to test the function.
To Search:
- [sort] - This code can generate a series of rando
- [suijipaixu] - suijipaixu
File list (Check if you may need any files):
test_22.3.cpp