/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
int i = (arc4random()%(max-min+1))+min;
URL: http://swatiardeshna.blogspot.com/2009/08/random-number-generation-within-range.html