Relative Content

Tag Archive for javasimulation

Java Monty Hall simulation with an outcome of 0.61

I’m trying a java code to simulate the famous Monty Hall problem but running the code with 100.000 iterations returns an average of 0.61 instead of 0.66 and I can’t find what’s wrong with my code.