Last active
June 13, 2017 13:32
-
-
Save r1ckhenry/dc821c5c362c958c8f7b8843a18275ef to your computer and use it in GitHub Desktop.
Shopping Basket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shopping Basket Lab | |
- Items should have a name, price and boolean value that determines whether or not they are eligible for a buy one get one free discount. | |
- A shopping basket can have multiple items. | |
- It should be able to add and remove items. | |
Extensions: | |
- 10% discount for all shopping baskets over £20 | |
- If the customer has a valid discount card then they get an additional 5% off. | |
- Add the ability to have buy one get one free items. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment