标签:io amp print c ca include printf main
#include <stdio.h>
void main()
{
int a;
printf("请输入一个5位数");
scanf("%d",&a);
(a/10000==a%10&&(a/1000)%10==(a/10)%10)?printf("是回文数\n"):printf("不是回文数\n");
}
输入任意一个5位数,判断其是否是回文数。,布布扣,bubuko.com
标签:io amp print c ca include printf main
原文地址:http://www.cnblogs.com/zhouhaiou/p/3911433.html