previous post
#include
#include
int main()
{
int a, b, c;
printf("donner un entier de 3 chiffres \n");
scanf("%d",&a);
c = a;
b = (a%10)*100;
a = a/10;
b = b+(a%10)*10;
a/=10;
b+=a;
printf("le nombre %d inverse est %d\n", c, b);
system("pause");
return 0;
}