Code to reverse input numbers

Code to reverse input numbers
 #include 
int main(){ int n,i,r,j; 
printf("enter a multiple digit\n"); 
scanf("%d"&n); 
i = (n%10); 
j = (n/10); 
r = (i*10+j); 
printf("the reversed is =%d"r); 
return 0;
 }

No comments