mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
12 lines
141 B
Plaintext
12 lines
141 B
Plaintext
//if and while works
|
|
var count = 1;
|
|
while (count <= 10) {
|
|
if (count % 2 == 0) {
|
|
print "even";
|
|
}
|
|
else {
|
|
print "odd";
|
|
}
|
|
count += 1;
|
|
}
|