mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-11-28 08:58:48 +02:00
Add TODO
This commit is contained in:
parent
0b220f9fff
commit
74831dd88f
@ -6,8 +6,8 @@
|
||||
// Mary is buying apples. The price of an apple is calculated as follows:
|
||||
// - An apple costs 2 rustbucks.
|
||||
// - 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
|
||||
// quantity bought.
|
||||
// TODO: Write a function that calculates the price of an order of apples given
|
||||
// the quantity bought.
|
||||
|
||||
// Put your function here!
|
||||
// fn calculate_price_of_apples(???) -> ??? {
|
||||
|
Loading…
Reference in New Issue
Block a user