title: User input for a Roulette Wheel
body: <p>For coursework I have to create a Roulette Wheel (European) which:</p>
  
  <ul>
  <li>Read from standard input one valid bet on a single number</li>
  <li>Select a winning number at random</li>
  <li>Is an animation of 2 or more frames</li>
  <li>Display the user bet and winning number</li>
  </ul>
  
  <p>So far I've animated the wheel using a for loop and there is a ball that lands on a random number. </p>
  
  <p>I have attempted to write some code for the user input </p>
  
  <pre><code>int bet[3];  
  int result;
  scanf( "%d" , &amp;bet);
  if (bet &gt;=0 &amp;&amp; bet &lt;= 36); result = 1;
  printf("Your bet is number %d", &amp;bet);
  </code></pre>
  
  <p>When inputting a bet into the stdin console the program does not display the contents of the printf functions and just goes straight to the animation. Any suggestions or help to improve the user input would be appreciated</p>