Skip to content

Commit 96552e0

Browse files
authored
fix(quiz1): correct explanation once again
1 parent 3309a01 commit 96552e0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

exercises/quiz1.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
// - Functions
55
// - If
66

7-
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
8-
// 40 or more at once, each apple only costs 1! Write a function that calculates
9-
// the price of an order of apples given the quantity bought. No hints this time!
7+
// Mary is buying apples. The price of an apple is calculated as follows:
8+
// - An apple costs 2 rustbucks.
9+
// - If Mary buys more than 40 apples, each apple only costs 1 rustbuck!
10+
// Write a function that calculates the price of an order of apples given
11+
// the quantity bought. No hints this time!
1012

1113
// I AM NOT DONE
1214

0 commit comments

Comments
 (0)