📅  最后修改于: 2022-03-11 14:52:45.904000             🧑  作者: Mango
public class Main{ public static void main(String[] args){ int lines=10; int i=1; int j; for(i=1;i<=lines;i++){ for(j=1;j<=i;j++){System.out.print(i*j+" "); } System.out.println(""); } } }