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();
        }
    }
}

 

arrow
arrow

    蛋餅Brook 發表在 痞客邦 留言(0) 人氣()