#include "stdio.h"int main(void){ int m; while(printf("Input m(int 99 if(scanf("%d",&m)==1 && m>99){ printf("%d --> %d\n",m,m/100%10*10+m/10%10*100+m%10+m/1000*1000); break; } printf("Error, enter again. "); fflush(stdin); } return 0;}