mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-10 12:49:18 +00:00
teee
This commit is contained in:
parent
5a518df121
commit
1a4d79b69b
@ -26,6 +26,7 @@ fn verify_test() {
|
||||
|
||||
fn calculate_apple_price(price:i32) -> i32 {
|
||||
if price>40{
|
||||
|
||||
price
|
||||
}
|
||||
else {price*2}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user