This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Random; | |
public class Puzzle1 { | |
public static void main(String[] args) { | |
Random rnd = new Random(); | |
int odds = 0; | |
int runs = 1000; | |
for(int i=0; i<runs; i++) { | |
int num = rnd.nextInt(); |
NewerOlder