0
Answer

Coin tossing simulator for html

Sven Alref

Sven Alref

11y
1.5k
1
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