Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 431 Bytes

discount-code.md

File metadata and controls

15 lines (13 loc) · 431 Bytes

Write an expression to tell us if our hotel booking gets a discount. The booking gets a discount if the discount code is "HAPPY" or "TIGER". The booking also gets a discount if the age is greater than 65 and the discount code is "SUPERSENIOR".

CODE TEMPLATE


let discountCode = "SUPERSENIOR";
let age = 45;
let getsDiscount = ; // write your expression here
console.log(getsDiscount);