Revised: Dec./26th/2001: Since: Dec./26th/2001
$BB?=E%M%9%H$,$"$k$H$-!"2
class TestLabel{ public static void main(String args[]){ escape: for(int i=0; i<=9; i++){ System.out.print(i+": "); for(int j=0; j<=9; j++){ System.out.print(" "+i*j); if(i*j>=20){ //$B@Q$,#2#00J>e$K$J$l$P(B break escape; //$B%i%Y%k$G;XDj$7$?3,AX$XC&=P(B } } //j$B%k!<%W=*N;(B System.out.println(""); } //i$B%k!<%W=*N;(B } }
C:\Java<javac TestLabel.java C:\Java<java TestLabel 0: 0 0 0 0 0 0 0 0 0 0 1: 0 1 2 3 4 5 6 7 8 9 2: 0 2 4 6 8 10 12 14 16 18 3: 0 3 6 9 12 15 18 21
SEO | [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送 | ||