wip
This commit is contained in:
@@ -13,10 +13,12 @@
|
||||
//
|
||||
// No hints this time ;)
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
// Put your function here!
|
||||
// fn calculate_price_of_apples {
|
||||
fn calculate_price_of_apples(apples: u32) -> u32 {
|
||||
let price = if apples > 40 { apples } else { apples * 2 };
|
||||
|
||||
return price;
|
||||
}
|
||||
|
||||
// Don't modify this function!
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user