Loading...

if else - part 2

__info__

True or false?

BOB3 should be used to discover the truth, again!

__info__

Now we’re going to lean another form of truth:

In the example before we tested to see if the numbers were equal.
Yet now we’re going to test and see if they are larger or smaller.

3 > 1

> means “larger then”

3 > 1 is true

1 > 4 is false

__task__

Compile the program and test it on your BOB3.




__task__

100 > 1000

Compile the new program and test it on your BOB3.

What happens now?

__task__

100 < 1000

Compile the program and test it on your BOB3.

What happens now?

__task__

100 != 1000

What colour are BOBs eyes now?

Compile the new program and test it on your BOB3.

__quiz__

1: True or false: 5 < 4 
2: True or false: 5 != 4 
3: True or false: 5 != 5 
4: True or false: 1000 > -1000 
 You haven’t completed anything yet!
 Super, so far so good…
 Super, you got it all right!
 Sadly not correct…
 One answer is correct
 A couple are correct…
Fahre mit der Maus über die Symbole!