title: Using rand() to select one of 2 specific numbers
body: <p>I'm trying to call rand() to select one of two numbers, either a 1 or a 2.</p>
  
  <p>so that: (pseudo)</p>
  
  <pre><code>//the first call might print 2
  printf("%d",rand(1 or 2));  //prints 1, perhaps
  
  //and the second call might print 2
  printf("%d",rand(1 or 2));  //prints 2, perhaps
  </code></pre>
  
  <p>How can this be done?
  Perhaps call these variables
  int first=1;
  int second=2;
  and work from there?</p>