单选题 阅读如下程序段
#include"stdio.h"
main()
int x,a,b;
scanf("%d",&x);
a=b=x;
for(;x!=0;)
if(x<b)b=x;
if(x>

【正确答案】
【答案解析】[解析] 本题的功能是求出输入序列的最大值和最小值,并打印输出。