public static void main(String[] args) { int x,y,z; Scanner in = new Scanner(System.in); System.out.print("กรุณากรอกแม่สูตรคูณที่นี่ :"); x = in.nextInt(); System.out.print("กรุณากรอกจำนวนที่ต้องการที่นี่ :"); y = in.nextInt(); for (z=1;z<y;z++){System.out.println(x+"*"+z+"="+(x*z));}
Considering the real-time nature of this webboard, it is impossible for us to review all messages/post. Please remember that we do not actively monitor the contents of and are not responsible for any messages posted. Anyone who feels that a posted message is inappropriate, Please encouraged to contact us immediately by email at kratoo@pantip.com , and We will remove objectionable messages within a reasonable time frame.