package studying;
public class MultiplicationTable {

    public static void main(String[] args) {
        //this program is 9*9 multiplication table        
        for(int j = 1; j < 10; j++) {
            for(int i = 1; i <= j; i++) {
                System.out.print(i + "*" + j + "=" + (i*j) + "\t");
            }
            System.out.println();
        }
    }
}

结果展示:

java --- 九九乘法表

 

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-09-20
猜你喜欢
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2021-12-09
  • 2022-01-09
相关资源
相似解决方案