Posted By

arpit on 04/21/10


Tagged

math


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

umang_nine
rvachere
sb
Tintenklecks
cnathan


Random Within Range


 / Published in: Objective C
 

URL: http://swatiardeshna.blogspot.com/2009/08/random-number-generation-within-range.html

  1. int i = (arc4random()%(max-min+1))+min;

Report this snippet  

You need to login to post a comment.