In plain words
A conditional is an if/else check that lets your code do one thing when something is true and another thing when it isn't.
Where you see it
QuickBite gives free delivery on orders of 30 or more and charges a fee below that. An if somewhere decides which one each customer gets, and an order of exactly 30 depends on whether it says > or >=.
What goes wrong
- Checks in the wrong order
If subtotal >= 15 comes first, a 40 order matches it and never reaches the free-delivery check. The first true branch wins and the rest are skipped.
- The boundary is off by one
> 30 and >= 30 only differ when the order is exactly 30. Match the code to the wording on the page: "from 30" means >=.
- No else for the leftover case
When none of the branches match, nothing happens. No error, no message, a button that does nothing when pressed.
What to tell your agent
Quick check
Sign in to earn +10 XP for itQuickBite promises free delivery from 30. A customer with a 30.00 order is charged a fee. Which check is wrong?