Is there a random sampling function for iphone development that can simulate a coin toss?

Posted by William on Stack Overflow See other posts from Stack Overflow or by William
Published on 2010-06-03T07:45:00Z Indexed on 2010/06/03 7:54 UTC
Read the original article Hit count: 215

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.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about random