The drop bear is a fearsome creature from Australian folklore -- a large, carnivorous koala that drops from trees onto unsuspecting tourists. (Don't worry, they're not real... probably.)
Create a function called dropBearDanger that accepts three Boolean parameters:
hasVegemite: whether you have Vegemite behind your ears (a well-known drop bear repellent)underEucalyptus: whether you are standing under a eucalyptus treeisNighttime: whether it is nighttimeReturn a String indicating your danger level:
hasVegemite is true, return "Safe" -- Vegemite always protects you,
regardless of other conditions.underEucalyptus and isNighttime are both true, return "Extreme danger!".underEucalyptus or isNighttime is true (but not both), return
"Moderate danger"."Low danger".Stuck? You may find these lessons helpful: