Is there a random sampling function for iphone development that can simulate a coin toss?
- by William
Is there a random sampling function for the iphone?
For example, if you want to flip a coin that returns heads 25% of the times it's flipped, and you want to flip it and see if you get heads this time? I googled for random sampling probability for iphone and couldn't find anything.