True or false?
BOB3 should be used to discover the truth, again!
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
ist wahr
1 > 4
ist falsch
Compile the program and test it on your BOB3.
Change the condition:
100 > 1000
Compile the new program and test it on your BOB3.
What happens now?
Change the condition again:
100 < 1000
Compile the program and test it on your BOB3.
What happens now?
!=
means “not equal to”
Add this condition:
100 != 1000
What colour are BOBs eyes now?
Compile the new program and test it on your BOB3.