下面程序的正确运行结果是()
main()
{inta=1,b=4,c=2;
float x=5.5,y=9.0,z;
z=(a+b)/c+sqrt((double)y)*1.2/c+x;
prinff("%f\n",z);
}
A.9.800000 B.9.300000 C.8.500000 D.8.000000正确答案B
下面程序的正确运行结果是()
main()
{inta=1,b=4,c=2;
float x=5.5,y=9.0,z;
z=(a+b)/c+sqrt((double)y)*1.2/c+x;
prinff("%f\n",z);
}
A.9.800000 B.9.300000 C.8.500000 D.8.000000正确答案B