Heads+or+Tails+Coding

Write a program which tosses a coin and counts up whether the result was heads or tails
 * Specification **

Download the Scratch project Heads or Tails
 * Code **

Create 3 variables: Heads, Tails, HeadsOrTails Uncheck HeadsOrTails so that it is not shown on the screen

Add the following code scripts:



Now test your program to show that it works correctly.
 * Testing**


 * Coding Log Book **

1. Line 5 of is shown below. Describe what this line of code does.



2. Lines 6-7 a re shown below. Describe what these lines of code do.