Update the code in such a way that
it logs the following to the console:
- If the participant is
admin
:
[Participant Name] has access to admin area.
- If the participant is
volunteer
:
[Participant Name] has access to staff area.
- Else log the following:
[Participant Name] has access to public area.