ex:
9x9乘法表



------------------------------------------------------------
//Start

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



//End
------------------------------------------------------------
arrow
arrow
    全站熱搜

    Neo Chao 發表在 痞客邦 留言(0) 人氣()