I was a wonder'n if I could bring back to life a topic brought up a while back.
The topic of random numbers.
Just for kicks, how would you go about writing a routine for running a "fair" coin toss ??
My thoughts were to get a random number from 0.0001 to 9.9999 with the 'less than' 5.0000 is heads and 'greater than' 5.0001 is tails.
Or how about a set of 6 sided dice ??
Prompt the user for a choice of one to two dice.
Each die roll generating a random number from 1 to 6.
How would you go about creating this ??