Sven Alref

Sven Alref

  • 2.1k
  • 1
  • 1.7k

Coin tossing simulator for html

Jan 19 2013 11:38 AM
Write a script that simulates the coin tossing. Let the program toss the coin each time the user clicks the toss button.  Count the number of times each side of the coin appears. Display the result.  The program should call a separate function flip that takes no arguments and returns false for tails and flip for heads