//x回文数
#include #define N 20 int main() { int x,s,tag; char a[N]; printf(\"Please input numbers and it's length less then %d:\ s=1; while(s if(a[s]==10)break; s++; } printf(\"\\nThe numbers is :\\n\"); for(x=1;x printf(\"%c\ } tag=0; for(x=1;x if(a[x]!=a[s-x]) { tag=1; break; } } if(tag==0)printf(\"\\nThe number is palindrome!\"); else printf(\"\\nThe number isn't palindrome!\"); } 因篇幅问题不能全部显示,请点此查看更多更全内容{{