Files
Toy/scripts/count.toy
2024-11-29 12:16:10 +11:00

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;
}