Is there any way to prevent a char/int infinite loop?

Printable View