• + 0 comments

    public class Solution { public static void main(String[] args) { Scanner scan =new Scanner (System.in);

        int N=scan.nextInt();
    
        for (int n=1;n<=10;n++){
            System.out.println( N + " X " + n + " = " + n * N );
        } 
    
    }
    

    }