image
Figure 8.18: Figure 8.18 Assigning probabilities for generating a random number between 0 and 1 inclusive for the spinner of Figure 8.16. (a) The probability of an outcome between 0.3 and 0.7. (b) The probability of an outcome less than 0.5 or greater than 0.8.