/**/ #include #include int main(void) { int x, y, i; int step1=10, step2=100; int num; int max = 0; printf("Enter an integer > "); scanf("%d", &x); if (x < 0) { printf("%d\n", x%10); x = x * -1; } else { printf("%d\n", x%10); } y = x; while (y >= 10) { y /= 10; max ++; } for (i=0; i