Quote Originally Posted by shufu7-11 View Post
I can already determine if it is prime, I just need help removing the digits.
Wellllll... you could try dividing by ten.

Code:
int x = 719;

while(x > 0 )
  { printf("%d\n",x);
     x /= 10; }