• + 0 comments
    Scanner scanner = new Scanner(System.in);
        int N = scanner.nextInt();
    
        for (int i = 1; i <= 10; i++) {
            System.out.println(N + " x " + i + " = " + (N * i));
        }