Java practice_2

public class c99 {
/**
* @param args
*/
        public static void main(String[] args) {
// TODO Auto-generated method stub
        System.out.println();
        System.out.println("*********************************** 99乘法表 ***********************************");
        int i,j;
        for(i =1 ; i <= 9; i++ ){
                for(j = 1 ; j <= i ; j++){
                        System.out.print(" "+i+"*"+j+"="+i*j+" ");
                }
        System.out.println();
        }
        System.out.println();
        System.out.println("*********************************** 99乘法表 ***********************************");
        }
}

你可能感兴趣的:(JAVA,java,string,class,c)