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