package Day07; public class chengfa02 { public static void main(String[] args) { int x = 1; int y = 1; while (x<=9) { y=1; while (y<=9){ int sum=x*y; System.out.print(x + "*" + y + "=" + sum + " "); y++; } System.out.println(); x++; } } }
java打印九九乘法表
最新推荐文章于 2024-11-10 08:43:33 发布