Created
April 18, 2021 07:36
-
-
Save dsibinski/af6191d34a2a5276a4756f83a5d6cae8 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
if (allProductsQuantity > 10 && allProductsQuantity <= 50) { | |
discountValue += 10; | |
} else if (allProductsQuantity > 50) { | |
discountValue += 15; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment