编辑代码

#include<stdio.h>

int main()
{
    int a,b;
    int c = 0;
    printf("please write down your number\n");
    scanf("%d", &a);
    do{
        b = a%10;
        c = c*10 + b;
        a = a/10;
    } while (a > 0);
    printf("This is the number that you want,%d",c);
    return 0;
}