No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
For my Java homework I had to make a program that simulates 100,000 people going 25 times around a monopoly board and finding the percentage times a space is landing on. I get this error when I run it. Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 39 at Monopoly.analyze(Monopoly.java:86) at TestMonopoly.main(TestMonopoly.java:6) Here … |
|
I am just starting out with java and I have to make a decision based text game. I keep getting some errors and I feel like I am missing an else or some curly braces somewhere, any help? import java.util.*; public class TextGame { Scanner scan = new Scanner(System.in); int … |