close
package pracitce01;
public class 九九乘法 {
public static void main(String[] args) {
for (int i = 1; i <= 9; i++) {
for (int j = 1; j <= 9; j++) {
System.out.print(j + "*" + i + "=" + (j * i));
System.out.print(" ");
}
System.out.println();
}
}
}
文章標籤
全站熱搜