How to generate 3 digit random number?
Answers were Sorted based on User's Feedback
Answer / nazeer ahmed
dim upperlimit
dim lowerlimit
dim randomnumber(4)
upperlimit = 500
lowerlimit = 1
For x = 0 to 4
randomize timer
randomnumber(x)=Int((upperlimit-lowerlimit+1)*Rnd)+lowerlimit
msgbox randomnumber(x)
Next
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / prathyusha
Randomize
intmax=1000
intmin=300
rNum=Int((intmax-intmin+1)*Rnd+intmin)
MsgBox rnum
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / eswar
For i=1 to 3
x = RandomNumber(1,9)
y=y&x
Next
MsgBox y
| Is This Answer Correct ? | 0 Yes | 1 No |
write a vb script to display 3*3 matrix
Mention when to use function procedures and what are its characteristics?
give me any information abou vb script books learn quckly
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Difference between dim,public and private variables in vb script?
What is the use of the recordset object and which statement is used to create such an object?
Hi, Anybody could you Please tell me How to write the script for Checking whether given number is Prime Number or not..Thanks in Advance
How to return a value from function...? you should not tell msgbox, print.. etc.,
Explain the asc function?
Explain about tristate constants in vbscript?
How to Import data from a file (file is on the desktop) to the data table
What is the purpose of drive object of scripting.filesystemobject class in vbscript?