edlang/simple.ed
2023-05-19 19:55:57 +02:00

10 lines
129 B
Plaintext

fn main(x: i32) -> i32 {
let y = 0;
if x == 5 {
y = 2 * x;
} else {
y = 3 * x;
}
return y;
}