猿问
java二维数组
怎么将九九乘法表的结果填入大小为10×10的二维数组中并显示呢,只会打印九九乘法表
😔
慕码人0168727
浏览 1156
回答 2
2回答
慕粉4231314
int[][] a = new int[10][10]; for(int i = 1; i < 10; i++){ for(int j = 1; j <= i; j++){ a[i][j] = i*j; System.out.println(a[i][j]); } }
1
0
1
慕瓜9220888
YFPRGTJMPIETSUHEXEHCYDPSCPMHFRWFLFLAENJIISXYCZQTEADGKXAXZYAAXAWFKMRADQDABZLFBEBEXFNZIUDUXKMRNPREXKAEWCMQUOMPZRXNMQAUODVLBNHRBROHRUQLPCGQCINMJWJSDODTISFCVVDAFHBHAUNVOLQJWVIBQQUDCDCWJUNGIOYLETUJBUHDQKWOQILYURKNYRGYLXTLTYUQXEKHOHJCVNAXUNEMYNJMPIFFQUFRUREHSJFKWJMZJYTWRDQNQTIVXZYBHOBQYHJNGTQTLDPUNQQJJEVETCFOBYJJHNIMFCZNRYDPCZMVCNZBWWNWTWDTVNHDQKDTPVHQGUHNPLTSGHUYWYOEFPDKYBSSOERCZALGDCZTNYFAFLQGQQUYKPFFSWAKENIIULPTFYVPFOZTUOYPKXWZVVJDHTPFUIIWQNFRMYLOBQQRJLHOHUKUBHJCPLYLOSUTZMPSLQXZOPMZWPALNFHLTMPTEKHGKBEMABLXQKESEEXWCPFSVFRLINPTPGSMKSEADMQWHGAZSMFJFLMPQGZGCTJEUZVATGAFZIXMFEILABXODQNQTBDSEGTNATGBTIXWJPXTJTZFPTAOOYCODDXUQBMIKJWTWPFDTNMCPTCIXVNZSFIFOMCOGGJWYGLAMIORLEGRKMYLVIIVQJYLBPLYZVRJFLOBYYPOQWJGGWCNKPBYJWJNVXWMHRUDWHJYOOGJYPOGCBVRRRPXWFEBUHULSBDMLBGDKVOGYGQDAXZVBAEKNRBNNPUYLYHOTYHMGMQGVQCEADWZQHZHZFSLYLLZIHGMILYIKWFKNAAXJOJCXUEKXSDFRNAMQPQVUHJTJDDALKMBEHOBTEWSLYPMSBDCEAKNKN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