mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-02-12 04:39:19 +00:00
Merge 50815e343211eeef20661d2cf10e05f90da72dff into 87ac600b7c050538b1622084ea7c356b8a1d02bc
This commit is contained in:
commit
05b41afe0e
@ -5,7 +5,7 @@
|
|||||||
//
|
//
|
||||||
// Mary is buying apples. The price of an apple is calculated as follows:
|
// Mary is buying apples. The price of an apple is calculated as follows:
|
||||||
// - An apple costs 2 rustbucks.
|
// - An apple costs 2 rustbucks.
|
||||||
// - However, if Mary buys more than 40 apples, the price of each apple in the
|
// - However, if Mary buys 40 or more apples, the price of each apple in the
|
||||||
// entire order is reduced to only 1 rustbuck!
|
// entire order is reduced to only 1 rustbuck!
|
||||||
|
|
||||||
// TODO: Write a function that calculates the price of an order of apples given
|
// TODO: Write a function that calculates the price of an order of apples given
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user