(7)有以下程序#include lt;stdio.hgt;main(){ int x;scanf("%d" amp;x);if(xgt;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】 。
