标签:java
/**5
* 輸出9*9乘法表
**/
public class Test{ public static void main(String[] args){ for (int i = 1; i < 10; i++) { for (int j = 1; j <= i; j++) { System.out.print(i); System.out.print(‘*‘); System.out.print(j); System.out.print(‘=‘); System.out.print(i*j); System.out.print(" "); } System.out.println(); } } }
本文出自 “hacker” 博客,请务必保留此出处http://anglecode.blog.51cto.com/5628271/1619886
标签:java
原文地址:http://anglecode.blog.51cto.com/5628271/1619886