源自:3-6 关系运算符
int x=5; int y=5; int z=10; printf("x是否大于y:%d\n",x>y ); //x是否大于y printf("y是否大于等于x:%d\n", y>=x ); //y是否大于等于x printf("y是否小于z:%d\n", y<z ); //y是否小于z printf("z是否小于等于x:%d\n",z<=x ); //z是否小于等于x printf("z是否等于x+y:%d\n", z==x+y ); //z
int x=5;
int y=5;
int z=10;
printf("x是否大于y:%d\n",x>y ); //x是否大于y
printf("y是否大于等于x:%d\n", y>=x ); //y是否大于等于x
printf("y是否小于z:%d\n", y<z ); //y是否小于z
printf("z是否小于等于x:%d\n",z<=x ); //z是否小于等于x
printf("z是否等于x+y:%d\n", z==x+y ); //z是否等于x+y
怎么来的啊,我没搞明白,有高手解释的吗?
提问者:qq_蜗牛也疯狂_03964569
2016-10-11 11:46