package com.lei;
/**
- 测试循环模式
- 99乘法表
- @author 小白
/
public class Test_for {
public static void main(String[] args) {
for(int b=1;b<=9;b++){
//两种写法,far(int a=1;b<=9;a++)
// if(b>=a){
for(int a=1;a<=b;a++){
System.out.print(b+“x”+a+"="+ba+"\t");
//}
}
System.out.println();//用于打出换行
}
}
}