Flip a Coin 10000 Times!
STCollier

This program will flip a coin as many times as your computer can handle and tell you how many times you get heads or tails.

Edit: lol how did this lame program get 7 13 up-votes

Edit 2: Y'all made me self conscious about my code so I updated it, making the program better.

Edit 3: Also, please don't crucify me, I'm too lazy to style the program.

Also, as @TheDrone7 mentioned, the results are somewhat biased, because the JavaScript Math.random function is given a seed such that the random number is almost always going to be very near to 0.5. So sorry about that, I couldn't think of a way to fix it.

You are viewing a single comment. View All
Yoplayer1py

Cool

STCollier

@Yoplayer1py Thanks!