/////

/////
Last edited on
please indent your code.

> not all numbers show up correctly
because of the continue on line 25, you do not show the last digit.
because of the break on line 26, you may discard some of the front digits
because of the cout<<curDigit; on line 31, you repeat the first digit (in case the break didnt' occur)
Topic archived. No new replies allowed.