← all problems

isAdult 🌶️

The method below is supposed to return true if age is 18 or older, and false otherwise; isAdult(18) should be true, since someone who is exactly 18 is an adult. But it has a bug. Try submitting it exactly as it is first, then find and fix the comparison.