package com.hanqi; public class chengfabiao { public static void main(String[] args) { // TODO 自动生成的方法存根 for (int i = 1; i < 10; i++) { for (int j = 1; j <=i; j++) { int s=j*i; System.out.print(" "+j+"*"+i+"="+s); } System.out.println(); } } }