mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-09 09:38:24 +00:00
14 lines
212 B
Plaintext
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;
|
|
}
|