#include <stdio.h> void main() { int num = 0; int bit = 0; int inverse = 0; printf("Please input an integer:\n"); scanf("%d",&num); while(num != 0){ bit = num%10; num = num/10; inverse = inverse*10+bit; } printf("inverse the integer: %d\n",inverse); } 望采纳! 谢谢
满意请采纳
温馨提示:答案为网友推荐,仅供参考