九九乘法小练习

package Wu;

public class wu {

public static void main(String[] args) {
   int i=9,j = 9;
   for(i=1;i<=9;i++){
       for(j=1;j<=i;j++){
          
           System.out.print(j+"*"+i+"="+(i*j)+"\t");
       }
       System.out.println();
   }

            
    
    
    
          }
}

package Wu;

public class wu {

public static void main(String[] args) {
   int i=9,j = 9;
   for(i=1;i<=9;i++){
       for(j=1;j<=i;j++){
          
           System.out.print(j+"*"+i+"="+(i*j)+" ");
       }
       System.out.println();
   }

            
    
    
    
          }
}

 

posted @ 2015-12-05 08:45  秦萧不再  阅读(135)  评论(0编辑  收藏  举报