九九乘法表
输出语句在哪个for循环里输出,信息就遵循哪个for循环的规律
1.for与do-while 循环先执行后判断
2.while先判断后执行
3.for,do-while,while这三个代码形式
int i = 0;
do{
System.ouut.println(i);
i++;
}while(i<100){
}
===============================================
int a = 0;
while(a<100){
System.out.println(a);
a++;
}
======================================================
for(int j = 1;j<=100;j++){
System.out.println(j);
}