Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void main()
- {
- int num, r;
- scanf("%d", &num);
- while (num > 0)
- {
- r = num % 10;
- printf("%d", r);
- num /= 10;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement