1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-11-24 08:42:26 +02:00

Improve wording in quiz1

This commit is contained in:
mo8it 2024-07-05 15:38:33 +02:00
parent db5911eb73
commit f5a4965de7

View File

@ -5,7 +5,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!
// - 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
// the quantity bought.