实现九九乘法表

 1 package com.yzy.test;
 2 
 3 public class Multiplication {
 4 
 5     /**
 6      * @param args
 7      */
 8     public static void main(String[] args) {
 9         // TODO Auto-generated method stub
10         for (int i = 1; i < 10; i++) {
11             for (int j = 1; j <= i; j++) {
12                 System.out.print(j + "X" + i + "=" + i * j+" ");
13             }
14             System.out.println();
15         }
16     }
17 
18 }

运行结果:

待更新。。。。。。。。。

posted on 2016-08-02 20:31  网络哈气高手  阅读(234)  评论(0编辑  收藏  举报