【发布时间】:2020-05-13 07:13:37
【问题描述】:
Dim rnd As New Random
Dim quote1, quote2, quote3 As String
Dim int As Integer
int = rnd.Next(1, 3)
quote1 = "never give up"
quote2 = "always believe in yourself"
quote3 = "always follow your dreams"
MessageBox.Show("quote" & int)
嘿,谁能告诉我,我如何将 int 分配给单词 quote,所以每次它都会选择不同的引号?
【问题讨论】: