diff options
| author | Robert Fry <inbox@robertfry.xyz> | 2023-05-29 18:39:08 +0100 |
|---|---|---|
| committer | Robert Fry <inbox@robertfry.xyz> | 2023-05-29 18:41:51 +0100 |
| commit | 7eef5d15eef780f93e22b1b4e0185f7708219ea0 (patch) | |
| tree | 6c1f97594a23ba1eb870435ba1e81a652241db04 /exercises/quiz1.rs | |
| parent | 30291a3c253f08a4191cfd544ba36867612ebb7a (diff) | |
docs: cleanup the explanation paragraphs at the start of each exercise.
Diffstat (limited to 'exercises/quiz1.rs')
| -rw-r--r-- | exercises/quiz1.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/exercises/quiz1.rs b/exercises/quiz1.rs index dbb5cdc..a9904b8 100644 --- a/exercises/quiz1.rs +++ b/exercises/quiz1.rs @@ -1,14 +1,17 @@ // quiz1.rs +// // This is a quiz for the following sections: // - Variables // - Functions // - If - +// // 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! -// Write a function that calculates the price of an order of apples given -// the quantity bought. No hints this time! +// Write a function that calculates the price of an order of apples given the +// quantity bought. No hints this time! +// +// No hints this time ;) // I AM NOT DONE |
