|
|
@ -5,7 +5,7 @@
|
|
|
|
// - If
|
|
|
|
// - If
|
|
|
|
|
|
|
|
|
|
|
|
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
|
|
|
|
// Mary is buying apples. One apple usually costs 2 Rustbucks, but if you buy
|
|
|
|
// more than 40 at once, each apple only costs 1! Write a function that calculates
|
|
|
|
// 40 or more at once, each apple only costs 1! Write a function that calculates
|
|
|
|
// the price of an order of apples given the quantity bought. No hints this time!
|
|
|
|
// the price of an order of apples given the quantity bought. No hints this time!
|
|
|
|
|
|
|
|
|
|
|
|
// I AM NOT DONE
|
|
|
|
// I AM NOT DONE
|
|
|
|