mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 14:57:32 -05:00
Add TODO
This commit is contained in:
parent
0b220f9fff
commit
74831dd88f
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@
|
||||||
// Mary is buying apples. The price of an apple is calculated as follows:
|
// Mary is buying apples. The price of an apple is calculated as follows:
|
||||||
// - An apple costs 2 rustbucks.
|
// - An apple costs 2 rustbucks.
|
||||||
// - If Mary buys more than 40 apples, each apple only costs 1 rustbuck!
|
// - If Mary buys more than 40 apples, each apple only costs 1 rustbuck!
|
||||||
// Write a function that calculates the price of an order of apples given the
|
// TODO: Write a function that calculates the price of an order of apples given
|
||||||
// quantity bought.
|
// the quantity bought.
|
||||||
|
|
||||||
// Put your function here!
|
// Put your function here!
|
||||||
// fn calculate_price_of_apples(???) -> ??? {
|
// fn calculate_price_of_apples(???) -> ??? {
|
||||||
|
|
Loading…
Reference in a new issue