谁有炸群代码卖我一个
答案:2 悬赏:40 手机版
解决时间 2021-11-17 05:16
- 提问者网友:沉默的哀伤
- 2021-11-16 13:06
谁有炸群代码卖我一个
最佳答案
- 五星知识达人网友:蕴藏春秋
- 2021-11-16 14:41
定义一个全局变量的数组:
dim a(10) as integer
随机产生10个两位的素数,素数各不相同:
Dim a(10), x As Integer
Dim str As String = ""
Dim di As Boolean = True
Dim n As Integer
Dim sd As
For i = 1 To 10
Do
Do
Randomize()
n = Int(Rnd() * 100 + 10)
Loop Until IsSushu(n)
If i > 1 Then
For x = 1 To i - 1
If a(x) = n Then
di = False
End If
Next
End If
Loop Until di = True
a(i) = n
'str = str & a(i) & " "
Next
dim a(10) as integer
随机产生10个两位的素数,素数各不相同:
Dim a(10), x As Integer
Dim str As String = ""
Dim di As Boolean = True
Dim n As Integer
Dim sd As
For i = 1 To 10
Do
Do
Randomize()
n = Int(Rnd() * 100 + 10)
Loop Until IsSushu(n)
If i > 1 Then
For x = 1 To i - 1
If a(x) = n Then
di = False
End If
Next
End If
Loop Until di = True
a(i) = n
'str = str & a(i) & " "
Next
全部回答
- 1楼网友:野味小生
- 2021-11-16 15:27
这个真的没有……
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯