mirror of
https://github.com/notohh/rustlings.git
synced 2024-10-30 08:49:12 -04:00
fix(quiz1): Fix inconsistent wording (#826)
The second test expects the function to return 80 when there is an order of 40 apples, but the current wording implies returning 40 will pass as well
This commit is contained in:
parent
df25684cb7
commit
03131a3d35
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
// - Functions
|
// - Functions
|
||||||
|
|
||||||
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
|
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
|
||||||
// more than 40 at once, each apple only costs 1! Write a function that calculates
|
// 40 or more at once, each apple only costs 1! Write a function that calculates
|
||||||
// the price of an order of apples given the quantity bought. No hints this time!
|
// the price of an order of apples given the quantity bought. No hints this time!
|
||||||
|
|
||||||
// I AM NOT DONE
|
// I AM NOT DONE
|
||||||
|
|
Loading…
Reference in a new issue