title: How to make rand() more likely to select certain numbers?
body: <p>Is it possible to use rand() or any other pseudo-random generator to pick out random numbers, but have it be more likely that it will pick certain numbers that the user feeds it? In other words, is there a way, with rand() or something else, to pick a pseudo random number, but be able to adjust the odds of getting certain outcomes, and how do you do that if it is possible.</p>
  
  <p>BTW, I'm just asking how to change the numbers that rand() outputs, not how to get the user input.</p>