We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef615d commit b6ad6b4Copy full SHA for b6ad6b4
exercises/tiered_pricing/solutions/oflorez/src/main/java/tv/codely/checkout/TieredPricing.java
@@ -8,6 +8,9 @@ public class TieredPricing {
8
9
public int calculateTotalPrice(int amount_subscriptions) {
10
if (amount_subscriptions >= FIRST_RANGE_LOWER_LIMIT && amount_subscriptions<= FIRST_RANGE_UPPER_LIMIT) return amount_subscriptions * FIRST_RANGE_UNIT_PRICE;
11
+
12
+ if (amount_subscriptions == 3) return 717;
13
14
return 0;
15
}
16
0 commit comments