答案

cc  •  11个月前


include <stdio.h>

int main () {

int n, a = 0, b;
scanf ("%d", &n);
while (n != 0) {
	b = n % 10; 
	n /= 10;
	a = a * 10 + b;
}
printf ("%d", a);
return 0;

}


评论:

请先登录,才能进行评论