purchaseAmount = 250
discount = 0
_If purchaseAmount > 300 _Then
discount = 30
_End_If
_If purchaseAmount > 200 _Then
discount = 20
_End_If
_If purchaseAmount > 100 _Then
discount = 10
_End_If
_Print_Console("Purchase Amount: $" .. purchaseAmount)
_Print_Console("Discount: " .. discount .. "%")