执行下列程序的输出结果是______。
main( )
{
int x=5,y;
y=++x*++x;
printf("y=%d\\n",y);
}
#include
#include
#include
Float fun (float)
Main
{ Float x, y;
Int flag;
Printf(“Enter x:”);
Scanf(“ %f ”, &x);
flag=fun(x);
if (﹍﹍______﹍﹍)
printf(“x=%f is out of range.\n”, x);
else
printf(“x=%f,y=%f\n”, x, fun(x) );
}
﹍﹍______﹍﹍ fun(float x)
{
Float s;
If ( abs(x)>1 )
Return (2);
Else
{
s=sqrt (1-x*x);
﹍﹍______﹍﹍;
}
}
发布于 2022-05-11 09:52:21
登录后免费查看答案
关注者
0
被浏览
29