Let’s complete the program and check its behavior.
!onVacationcondition at the end of the check using “logical AND”.
- And after it, also using “logical AND”
- Now add the
elsefork and log the
'You cannot start the project'message in it.
- Correct the values of the variables so that the condition is fulfilled.
- Then indicate that someone from the developers is on vacation and make sure that the project cannot be started.