public static void main(String args)
Scanner a = new Scanner(System.in);
right = 1337; //boredom
totalscore = 0;
b = 0;
double numb = Math.round((Math.pow(10, 2) * Math.random()));
double numb1 = Math.round((Math.pow(10, 2) * Math.random()));
valueFirst = numb % 12; //Highest Number
valueSecond = numb1 % 12; //Highest Number
System.out.print("\nMultiply these two numbers together: ");
System.out.print(valueFirst);System.out.print(" * ");System.out.println(valueSecond);
answer = a.nextDouble();
if(answer == (valueFirst * valueSecond))
System.out.println("\nOMG YOU GOT IT CORRECT CHEESE!");
System.out.println("\nOMG YOU ARE A FAILURE!");
while (b < 10 ); //Number of questions to be asked.
totalscore = right - 1337;
System.out.println("\nYour total sexyness is : " + totalscore );
that is what i have so far :), basically i want to ask the user what multiplication table they would want to do the quiz on..
So if you enter 5 it asks you only 5*1-12
you are almost there...
Jus get the input from the user.
I mean the number ---> eg 5 or some thing...
Then assign this value to valueFirst.
got it ??????