haha1235  
#include <stdio.h>
int main(void)
{
    int x;
    printf("Enter x:");
    scanf_s("%d",&x);
    while(x!=0){
    printf("%d",x%10);
    x=x/10;
    }
    return 0;
}

posted on 2013-10-07 11:49  haha1235  阅读(90)  评论(0编辑  收藏  举报