Sven Alref

Sven Alref

  • NA
  • 1
  • 1.8k

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