hi,
I use rand() to generate 2 numbers randomly(0 and 1). I want to restrict occurrence of 1 to 10.
I cannot use search algorithm since this will remove all the 1's after 10 1's i want 1's to be randomly distributed across the array(9*9)
Can anyone help me on this?
Thanks
teenvista