(7)有以下程序#include <stdio.h>main(){ int x;scanf("%d",&x);if(x>15) printf("
(7)有以下程序
#include <stdio.h>
main()
{ int x;
scanf("%d",&x);
if(x>15) printf("%d",x-5);
if(x>10) printf("%d",x);
if(x>5) printf("%d
",x+5);
}
若程序运行时从键盘输入12<回车>,则输出结果为 【7】 。