diff options
| author | mo8it <mo8it@proton.me> | 2024-07-05 15:38:59 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-07-05 15:38:59 +0200 |
| commit | 65834fc42012cb6c0412757b830294e9af26549f (patch) | |
| tree | 51abbacbf2192cde3f13d0eab37bd38f44095787 /exercises | |
| parent | f5a4965de7174e122c5d99ec0a300285d0a0c658 (diff) | |
Improve quizes
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/quizzes/quiz1.rs | 5 |
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. |
