From 65834fc42012cb6c0412757b830294e9af26549f Mon Sep 17 00:00:00 2001 From: mo8it Date: Fri, 5 Jul 2024 15:38:59 +0200 Subject: Improve quizes --- exercises/quizzes/quiz1.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'exercises') 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. -- cgit v1.2.3