I need to write a Java program that uses a Monte Carlo algorithm to calculate the

probability that next week’s lottery draw won’t have any consecutive

pairs of numbers (e.g. 8 and 9 or 22 and 23). 6 numbers are drawn

from 1 to 45.

This topic has been dead for over six months. Start a new discussion instead.

Recommended Topics