Computers are designed to carry out calculations. Mathematical operators allow arithmetic to be performed on values.
Infinite loops can be implemented deliberately, or by accident. A programmer can accidentally create an infinite loop by not realising that the values the program uses cause the loop's condition to ...