• + 0 comments

    // Use do while loop

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

        int n = sc.nextInt();
        int i =1;
        do{
            System.out.println(n+ " x " + i + " = " + n*i);
            i++;
        } while(i<=10);
    }
    

    }