Last active
January 2, 2020 13:51
-
-
Save Naomi-Dennis/4d69cda562c484ff0ecb1bd9d67ef9b7 to your computer and use it in GitHub Desktop.
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
loyaltyPoints = 50 | |
price = new ShopItem(100) | |
total = calculateDiscount(price, loyaltyPoints) | |
total = calculateTip(price) | |
total = calculateSalesTax(price) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment