package dayone1;
import java.util.Scanner;
public class jiujiu {
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
System.out.println("请输入a的值:");
int a=sc.nextInt();
//无返回值单独调用
chengfa(a);
}
public static void chengfa(int a){
for(int i=1;i<=a;i++){
for(int j=1;j<=i;j++){
System.out.print(j+"*"+i+"="+j*i+"\t");
}
System.out.println();
}
}
}