mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-02 00:39:20 +00:00
Merge 50815e343211eeef20661d2cf10e05f90da72dff into 7850a73d95c02840f4ab3bf8d9571b08410e5467
This commit is contained in:
commit
0a56d69fd4
@ -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