This preview shows page 1. Sign up to view the full content.
Unformatted text preview: green = 60%. Hint: Generate a random integer between 0 and 9. If the resulting integer is in the range 0 to 2, choose white. If the integer equals 3, choose blue. If the integer is in the range 4 to 9, choose green. Due date: Monday, March 22....
View Full Document
This note was uploaded on 09/08/2010 for the course CMPE 46 at San Jose State University .