Why does my while >0 go past it into negative numbers?

Printable View