<实验结论>
#include <stdio.h> #include <stdlib.h> int main() { int x, t, m; x = 123; printf("x = %d\n", x); t = 0; m = x % 10; t = t *10 + m; x = x / 10; m = x % 10; t = t * 10 + m; x = x / 10; m = x % 10; t = t * 10 + m; x = x / 10; printf("t = %d\n", t); system("pause"); return 0; }
** line10-22功能:
在一轮又一轮计算中,不断给m,t,x赋予新值,产生新的运算结果。
标签:1task4,10,int,一轮,实验,printf,include From: https://www.cnblogs.com/550w/p/17172785.html