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
