Java写九九乘法口诀表
时间: 2023-09-21 13:03:07 浏览: 77
JavaScript九九乘法口诀表的简单实现
Sure, I can help you with that. Here's a sample code for printing the multiplication table in Java:
```java
for (int i = 1; i <= 9; i++) {
for (int j = 1; j <= i; j++) {
System.out.print(j + "*" + i + "=" + (j*i) + "\t");
}
System.out.println();
}
```
I hope it helps! Do you have any other questions?
阅读全文