The else-if construct in Angular

Angular also has the @else-if construct:

app/app.component.html@if (isAdmin) {
  <div>
    admin
  </div>
} @else if (isUser) {
  <div>
    user
  </div>
} @else {
  <div>
    guest
  </div>
}
Задание 1

Let the property day contain some number from the interval from 1 to 31. Determine which decade of the month this number falls in (the first, second, or third).