#include main() { int x; scanf("%d",x-5); if(x>15)printf("%d",x-5); if(x>10)printf("%d",

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/18 21:42:55
#includemain(){intx;scanf("%d",x-5);if(x>15)printf("%d",x-5);if(x>10)printf("%d",#includemain(){intx

#include main() { int x; scanf("%d",x-5); if(x>15)printf("%d",x-5); if(x>10)printf("%d",
#include main() { int x; scanf("%d",x-5); if(x>15)printf("%d",x-5); if(x>10)printf("%d",

#include main() { int x; scanf("%d",x-5); if(x>15)printf("%d",x-5); if(x>10)printf("%d",
scanf()用法错误
应该是
scanf("%d", &x); //输入一个数字并赋值给变量x