•
Start •
setup program
loop program
loop program
Wait 1 second
Wait 1 second
End
TRUE ADAKAH FALSE
SYARAT
BENAR?
A B
x = 56 x = 56.3 x = 56 x = apple
y = 78 y = 56.02 y = 56 y = apple
print(x > y) print(x >= y) print(x == y) print(x != y)
x = 56 x = 19 x = 56 x = apple
y = 78 y = 91 y = 56 y = Apple
print(x is 56) print(x <= y) print(x = y) print(x == y)
x = 56 x = 1 x = 2 x = 91
y = 78 y = apple y = 4 y = 91.2
print(y < x) print(x == y) print(x == (y*2)) print(x = y)
x = 56 x = 1.2 x = 23 x = 0
y = 78 y = 3.2 y = 12 y = 3
print(x is y) print(x != y) print(x != y) print(x < 5)
Start
Read potentiometer
value, x
if (SYARAT){
PERNYATAAN ATUR CARA JIKA BENAR
TRUE } else {
FALSE
Is X< 500 PERNYATAAN ATUR CARA LAIN
End
X = 25
Y = 25
Z = 50
!(X == Z) && (X == Y)