undar-lang/test/if.ul

10 lines
139 B
Plaintext
Executable File

nat x = 10;
if (x == 10) {
print("x is 10");
} else if (x == 20) {
print("x is 20");
} else {
print("x is something else");
}