random use in app
<p>how can an array be created that randomizes results from 3 different values 0,1,2 and then makes 2 combinations of those </p>

<p>for example :
i have </p>

<pre><code>int values[3] = {0,1,2}
blah = values[arc4random() %3];
</code></pre>

<p>i tried using this from the arc4random help post on this site however when i do the above the app crashes. Im a begginer to arc4random and cant figure a solution to this since there isnt enough documents online to help me. 
Furthermore how can i choose 2 items from blah to be displayed?</p>
