0%
0 / 9 answered
Mathematical Expressions Practice Test
•9 QuestionsQuestion
1 / 9
Q1
A checkout program computes total after tax:
price = 80
taxRate = 0.075
total = price + price * taxRate
isOverLimit = (total > 85) or (price > 85)
Which of the following evaluates to true given the code?
A checkout program computes total after tax:
price = 80
taxRate = 0.075
total = price + price * taxRate
isOverLimit = (total > 85) or (price > 85)
Which of the following evaluates to true given the code?