edlang/simple.ed
2023-05-20 10:54:25 +02:00

14 lines
212 B
Plaintext

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