|
-
Sep 30th, 2004, 07:48 PM
#1
Thread Starter
New Member
Hey..
I am in class right now and I need to know how to get a random number from a float variable..
Eg
"Make a random program that stimulates a coin toss. Generate a random number, if the number is less than .5 it's a head and if its greater it's a tail."
Please help
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
|