Originally Posted by shufu7-11 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; }
int x = 719; while(x > 0 ) { printf("%d\n",x); x /= 10; }