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