mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clement Denis
3cdfd1a34c
|
4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago |
README.md
Security
AND + OR (&&
+ ||
)
Combining &&
and ||
builds complex logical conditions.
You can use ()
to group them.
Instructions
The infamous virus19 is spreading ! As an airport control agent your role is to ensure that the traveler is safe for his flight.
You must define the traveler.isImmune
property to true
if either:
- both
traveler.alreadyHadTheVirus
andtraveler.recovered
aretrue
- or
traveler.isVaccinated
istrue