jeudi 15 août 2019

Is there an option to put two integers next to each other in VBScript?

I am trying to put two integers next to each other, but after some tries, I landed here and I can't get further. can you help me?

Dim max,min
max=9
min=0
Randomize
n1=(Int((max-min+1)*Rnd+min))

max=9
min=0
Randomize
n2=(Int((max-min+1)*Rnd+min))

x=msgbox(n1, 1, "numbers")
x=msgbox(n2, 1, "numbers")

numb = n1 + n2

x=msgbox(numb, 1, "numbers")

I expect the two random generated numbers to be next to each other




Aucun commentaire:

Enregistrer un commentaire