Quantcast XP Math - Forums - View Single Post - c++ probability question?
View Single Post
Old 08-01-2007   #1
Posts: n/a
Default c++ probability question?

i want to write c++ code, that selects the following number with certain probability. Number 1 with probability 65/100Number 2 with probability 35/100How do i write the code?