We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3309a01 commit 96552e0Copy full SHA for 96552e0
exercises/quiz1.rs
@@ -4,9 +4,11 @@
4
// - Functions
5
// - If
6
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!
+// 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!
10
+// Write a function that calculates the price of an order of apples given
11
+// the quantity bought. No hints this time!
12
13
// I AM NOT DONE
14
0 commit comments