怎么实现红笔圈的在同·一行???/
package lian; public class l2 { public static void main(String[] args){ int product = 1; int i,j; for(i = 1 ; i<=9;i++){ for(j = 1 ; j <= i;j++){ product = j * i; System.out.print(j +"*" + i + "=" +product + " "); } System.out.print("\n"); } } }