|
-
Jan 10th, 2000, 02:49 AM
#1
Thread Starter
Hyperactive Member
Hi,
I'm making a program that will need to randomize two numbers. The problem is that the numbers are not close to each other like 1 to 2. The numbers are something like 2 to 6. But you understand, I only want to random one of those two numbers. If I said:
intNumber = int((6 * RND) + 1)
I would get all the numbers in between aswell. I hope you understande what I'm saying here. I only want to random 2 or 6 using the random function. Could you please help?
Thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|