Quote Originally Posted by citizen
. My only criticism is that you overwrote the value for x. Shouldn't it be?
Yep, you're right, I should have stored the result in another variable instead of overwriting x. my arithmetic is sometimes better than my programming