In an earlier version of an industrial autoclave temperature validation program, line 4 contained one syntax error and one logic error:
whlie (autoclaveTemp < 121 and autoclaveTemp > 134)
The program is intended to repeatedly prompt the operator to re-enter a temperature if their previous entry was not in the safe operating range of 121 to 134 inclusive.
Complete the table to describe the syntax error and the logic error on this line.
| Error type | Description |
|---|---|
| Syntax error | |
| Logic error |