mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19: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 {
|
fn calculate_apple_price(price:i32) -> i32 {
|
||||||
if price>40{
|
if price>40{
|
||||||
|
|
||||||
price
|
price
|
||||||
}
|
}
|
||||||
else {price*2}
|
else {price*2}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user