注意:此页面搜索的是所有试题
2.画出下列程序的流程图,或写出其对应的数学表达式。
main()
{ int x , y;
scanf(“%d”,&x);
if x>0 y=100;
else if x=0 y =0;
else y =-100;
printf(“%d”,y);
}

参考答案