• [deleted]
    + 62 comments

    As a C programmer

    public class Solution {
    
        public static void main(String[] args) {
            Scanner in = new Scanner(System.in);
            int N = in.nextInt();
    
            for(int i = 1; i <= 10; i++){
    
                System.out.printf("%d x %d = %d%n", N, i, N*i);
            }
        }
    }