if they picked 10 for the first question ( how many questions they want) then i have to do the math game 10 times .. i cant figure that out !
for (i=0; i<10; i++){
//math game code
}
Also, do your random generators work? I usually add a limit to it, like this:
random = rand.nextInt(5);
Slyvr
Junior Poster in Training
74 posts since Dec 2010
Reputation Points: 10
Solved Threads: 3
System.out.println("The two numbers are: " + num1 + " and "
+ num2 + ");
If you didn't noticed, you don't need the end quote or + sign here.
Slyvr
Junior Poster in Training
74 posts since Dec 2010
Reputation Points: 10
Solved Threads: 3