This is what I'm gonna do and I know I havnt got far, but have been searching on google for 5 hours and dont have the solution yet,
Your little sister / brother asks you to help her/him with the multiplication, and you decide to write a java application that tests her skills. The programme will let her input a starting number, such as 5. It will generate multiplication problems ranging from 5 X1 to 5X12. For each problem she will be prompted to enter the correct answer. The program should check the answer and should not let her/him advance to the next question until the correct answer is
given. To quit exercising this number and go further she/he should enter -1
import java.util.Scanner;
public class Multiplication
{
public static void main (String[] args)
{
final int MAX_TAL = 12;
int tal = 0, x, y;
Scanner scan=new Scanner (System.in);
System.out.println ("What multiplication du you want? (1-12)");
tal=scan.nextInt();
System.out.println ("You have chosen " + tal + "!");
}
}
Thanking you for all the help