Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Mary Kwong*/
- #include <stdio.h>
- #include <math.h>
- int main(void)
- {
- int d, n;
- printf("Enter an Integer > " );
- scanf(" %d", &n);
- for (;;)
- {
- d = n % 10;
- printf("%d\n", d);
- }
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement