12 lines
127 B
Text
12 lines
127 B
Text
|
fn main() -> int {
|
||
|
let x = 5;
|
||
|
|
||
|
if x < 3 {
|
||
|
return 3;
|
||
|
} else if x > 10 {
|
||
|
return 10;
|
||
|
} else {
|
||
|
return x;
|
||
|
}
|
||
|
}
|