int num2 = rand2.nextInt(11);
Ok, I think this should work, I hope.
if (choice ==4)
{
while (num2 ==0)
Type: Posts; User: javapenguin
int num2 = rand2.nextInt(11);
Ok, I think this should work, I hope.
if (choice ==4)
{
while (num2 ==0)
Well, it's simple, if they get it right within one of the three tries, add 1 to the one correct
else
don't add 1 to the ones correct.
Id recommend creating ten int values.
int chances = 1;...
Ahhhh....I found choice.
But you have another problem. A big problem.
You're going to get an error called "NoSuchMethodError "main" "
You don't have a main method.
I have a major project that i need a good grade on... here's the project and following is my code.
My problem is that I am unable to make it try the question 3 times if it is answered wrong, and...