Distributing a prize evenly within a lottery system
<p>Whats the best way to distribute a number evenly across "three people?" for instance let's say I have 300 of something each person gets 100 but then if I have 2 of something then the first two people get 1 while the third person is out of luck. What would be the quickest way to do this? Sometimes that 300 number will be as high as 2,000,000 and I'm not really sure if a for() loop is the best solution for this?</p>
