以下程序的输出结果是______。
#include <stdio.h>
#include <math.h>
Main() {
Int a=1,b=4,c=2;
Float x=10.5,y=4.0,z;
Z=(a+b)/c+sqrt((double)y)*1.2/c+x;
Printf("%f\n",z);
}
A.14.000000
B.15.400000
C.13.700000
D.14.900000
正确答案是C
以下程序的输出结果是______。
#include <stdio.h>
#include <math.h>
Main() {
Int a=1,b=4,c=2;
Float x=10.5,y=4.0,z;
Z=(a+b)/c+sqrt((double)y)*1.2/c+x;
Printf("%f\n",z);
}
A.14.000000
B.15.400000
C.13.700000
D.14.900000
正确答案是C