mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
Improve wording in quiz1
This commit is contained in:
parent
db5911eb73
commit
f5a4965de7
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,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!
|
// - However, if Mary buys more than 40 apples, the price of each apple in the
|
||||||
|
// entire order is reduced to only 1 rustbuck!
|
||||||
// TODO: Write a function that calculates the price of an order of apples given
|
// TODO: Write a function that calculates the price of an order of apples given
|
||||||
// the quantity bought.
|
// the quantity bought.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue