单项选择题

下列程序的执行结果是()。
main()
inta=5,b=2;floatx=4.5,y=3.0.u;
u=a/3+b*x/y+1/2;
printf("%f\n",u)

 

A.1.000000
B.2.000000
C.3.000000
D.4.000000