for语句循环,九九乘法表
作者:互联网
1 public class forTest04{ 2 public static void main(String[]args){ 3 for (int j =1;j<=9 ;j++ ) { 4 for (int i =1;i<=j ;i++ ) { 5 System.out.print(j+"*"+i+"="+(i*j)+"\t"); 6 } 7 System.out.println( ); 8 } 9 } 10 }
标签:语句,九九乘法,String,int,void,args,循环,public 来源: https://www.cnblogs.com/nzm-2019/p/15881144.html