# E0105

A chained comparison such as `a < b < c`. Comparison operators do not chain.

**Machine-applicable fix:** none.

## Example

This program fails with `E0105`.

```oska
fn main() {
    let a = 1
    let ok = 0 < a < 3
}
```

## Fixed

The same program, fixed.

```oska
fn main() {
    let a = 1
    let ok = 0 < a && a < 3
}
```

Listed in the [checker notes](/checker.md#e0105). `oskac explain E0105` prints this entry offline.