第4章例4-9

#include<stdio.h>
int main(void)
{
	int x;

	printf("Enter x:");
	scanf("%d",&x);
	while(x!=0){
		printf("%d",x%10);
		x=x/10;
	}

	return 0;
}
		

 

posted @ 2013-10-03 17:26  huangsilinlana  阅读(76)  评论(0编辑  收藏  举报