国产成人AV一区二区三区在线_国产成人精品无码免费看_国产成人无码无卡在线观看_国产精品成人A区在线观看_国产日韩精品欧美一区_国产亚洲精品自在久久蜜TV_久草热久草热线频97精品_久久久噜噜噜久久中文福利_久久婷婷五月综合色国产免费观看_日日狠狠久久偷偷色综合0,九一桃色在线观看,久久97精品久久久久久久不卡,国产成人精品亚洲精品

可以用vb輸出一個二維的數(shù)字方陣嗎

訪客2025-01-23 09:31:271

只要這樣的1 2 2 22 1 2 22 2 1 22 2 2 1

Dim str As String, n As Integerstr = InputBox("", "輸入n")n = CInt(str)Dim i As Integer, j As Integer, ar(n) As Integer, str1 As StringFor j = 1 To nFor i = 0 To n - 1ar(i) = CInt(Rnd() * 100)If str1 = "" Thenstr1 = ar(0)Elsestr1 = str1 + " " + CStr(ar(i))End IfNextIf ListBox1.Text = "" Then'ListBox1.Text = CStr(str1)ListBox1.Items.Add(CStr(str1))ElseListBox1.Text = ListBox1.Text + Chr(13) & Chr(10) + str1End Ifstr1 = ""Next 在ListBox1中輸出n個0到100的隨機(jī)數(shù)有問題在線聯(lián)系.....

文章評論