猿问

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]);     } }

慕瓜9220888

YFPRGTJMPIETSUHEXEHCYDPSCPMHFRWFLFLAENJIISXYCZQTEADGKXAXZYAAXAWFKMRADQDABZLFBEBEXFNZIUDUXKMRNPREXKAEWCMQUOMPZRXNMQAUODVLBNHRBROHRUQLPCGQCINMJWJSDODTISFCVVDAFHBHAUNVOLQJWVIBQQUDCDCWJUNGIOYLETUJBUHDQKWOQILYURKNYRGYLXTLTYUQXEKHOHJCVNAXUNEMYNJMPIFFQUFRUREHSJFKWJMZJYTWRDQNQTIVXZYBHOBQYHJNGTQTLDPUNQQJJEVETCFOBYJJHNIMFCZNRYDPCZMVCNZBWWNWTWDTVNHDQKDTPVHQGUHNPLTSGHUYWYOEFPDKYBSSOERCZALGDCZTNYFAFLQGQQUYKPFFSWAKENIIULPTFYVPFOZTUOYPKXWZVVJDHTPFUIIWQNFRMYLOBQQRJLHOHUKUBHJCPLYLOSUTZMPSLQXZOPMZWPALNFHLTMPTEKHGKBEMABLXQKESEEXWCPFSVFRLINPTPGSMKSEADMQWHGAZSMFJFLMPQGZGCTJEUZVATGAFZIXMFEILABXODQNQTBDSEGTNATGBTIXWJPXTJTZFPTAOOYCODDXUQBMIKJWTWPFDTNMCPTCIXVNZSFIFOMCOGGJWYGLAMIORLEGRKMYLVIIVQJYLBPLYZVRJFLOBYYPOQWJGGWCNKPBYJWJNVXWMHRUDWHJYOOGJYPOGCBVRRRPXWFEBUHULSBDMLBGDKVOGYGQDAXZVBAEKNRBNNPUYLYHOTYHMGMQGVQCEADWZQHZHZFSLYLLZIHGMILYIKWFKNAAXJOJCXUEKXSDFRNAMQPQVUHJTJDDALKMBEHOBTEWSLYPMSBDCEAKNKNNZBGS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