e0/examples/conditions.e0
Michael Zhang dbb51fd1d0
Some basic conditionals
- No terminator analysis yet
2022-07-17 22:26:11 -05:00

11 lines
119 B
Text

fn main() -> int {
let x = 25;
if x < 10 {
return 10;
} else if x > 50 {
return 50;
}
return 65;
}