C语言判断绝对值大于4的程序
#include <stdio.h>
int main() {
int x;
printf("请输入一个数:");
scanf("%d", &x);
if (x > 4 || x < -4) {
printf("YES");
} else {
printf("NO");
}
return 0;
}
原文地址: https://www.cveoy.top/t/topic/npeU 著作权归作者所有。请勿转载和采集!