9*9乘法表
//6. 完成一个9*9乘法表
public class HomeWork6 {
public static void main(String[] args) {
int row = 1;
int result;
while(row < 10){
int col = 1;
while (col <= row){
result = row * col;
System.out.print(col + "*" + row + "=" + result + "\t");
col++;
}
System.out.println();
row++;
}
}
}

浙公网安备 33010602011771号