summaryrefslogtreecommitdiff
path: root/exercises/quizzes/quiz1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/quizzes/quiz1.rs')
-rw-r--r--exercises/quizzes/quiz1.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/exercises/quizzes/quiz1.rs b/exercises/quizzes/quiz1.rs
index a79a162..04fb2aa 100644
--- a/exercises/quizzes/quiz1.rs
+++ b/exercises/quizzes/quiz1.rs
@@ -7,11 +7,10 @@
// - An apple costs 2 rustbucks.
// - 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.
-
-// Put your function here!
-// fn calculate_price_of_apples(???) -> ??? {
+// fn calculate_price_of_apples(???) -> ??? { ??? }
fn main() {
// You can optionally experiment here.