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