hy87

乘法表:

package com.test;


import org.junit.Test;


public class TestSwitch {


@Test
public void test() {
for (int i = 1; i < 10; i++) {
System.out.println("");
for (int j = 1; j <= i; j++) {
System.out.print(j + "*" + i + "=" + i * j + " ");
}
}


}
}

分类:

技术点:

相关文章: