All pastes #343473 Raw Edit

Someone

public text v1 · immutable
·published 2007-02-07 01:41 UTC
rendered paste body
// If-else for purchseCostLevel
            if (totalPurchaseCost == 0) {
                if (total <= 25)
                    purchaseCostLevel = Low;
                else if (total <= 75)
                    purchaseCostLevel = Medium;
                else if (total <= 100)
                    purchaseCostLevel = High;
                else if (total >= 120)
                    purchaseCostLevel = Very High;
            }