If... then... WHAT?

Lesson 4

IF... THEN... ELSE... statements are crucial and are present in just about all computing languages in one form or another. This statement is called a conditional, but it is really about making decisions and it something that we do every day (we just might not use these words). 

For Instance:

IF it is raining today, THEN wear a rain coat, ELSE wear a jumper.

Take a look at this catchy and informative song...

Now we're going to play a game as a class that uses this statement and you are going to have to look and think carefully about which action you are going to do. The following program will ask you IF you meet a criteria. If you do, THEN you do are particular action, ELSE you do something else.

Let's give it a go...

Now take a look at today's lesson and continue on from where you got up to with  TinkerGen Go Game.