java 九九乘法表(for循环)
package study5ran2yl.study;
public class ForDemo01 {
public static void main(String[] args) {
int h;
int l;
for(h=1;h<10;h++)
{
for(l=1;l<=h;l++){
System.out.print(l+"*"+h+"="+l*h+"\t");
}
System.out.println();
}
}
}


浙公网安备 33010602011771号