#include <stdio.h> int main() { 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
#include <stdio.h>
int main()
{
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
return 0;
}