I have one array c=[1 2 3 4 5]; with possibly number of duplicate numbers. I want to randomly choose an element from a array as well as its index. Can anybody help me..I have one array c=[1 2 3 4 5]; with possibly n
I have one array c=[1 2 3 4 5]; with possibly number of duplicate numbers. I want to randomly choose an element from a array as well as its index. Can anybody help me..I have one array c=[1 2 3 4 5]; with possibly n